Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 15 Dec 2012 @ 09:45:06 GMT


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


Subj:   Re: Using results returned from a Stored Procedure
 
From:   Pluebell, Fred

After you call the SP, use ALLOCATE statement to open a cursor for the result set. You can't use FOR to iterate through the result set, you need to explicitly FETCH. If your SP returns multiple result sets, you can ALLOCATE a cursor for the second after you CLOSE the first.



     
  <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: 15 Jun 2023