Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 04 Aug 2011 @ 08:58:08 GMT


     
  <Prev Next>  
<<First
<Prev
Next> Last>>  


Subj:   Stored procedure error 7968: Result set does not support
 
From:   Adithya K Bayyana

Hi,

The below code is Teradata stored procedure.

     REPLACE PROCEDURE TEST.GET_PER_YER()

     DYNAMIC RESULT SETS 1

     BEGIN

     DECLARE C_Result CURSOR WITH

     RETURN ONLY FOR

     SELECT FCL_PER_OF_YR_ID,FCL_YR_ID

     FROM VPROD.DT_INF
     WHERE DAY_DT= '20110622' ;


     OPEN C_Result ;

     END;


     ---- end of stored procedure


     ---calling the stored procedures .

     CALL TEST.GET_PER_YER() ;

After executing the above statement , I am getting the below error .

     7968: GET_PER_YER :The recipient of the result set does not support
     dynamic result sets.

Thanks,

Adithya



     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016