Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 21 Dec 2005 @ 14:04:34 GMT


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


Subj:   Re: Passing the value for an IN clause to a stored
 
From:   Victor Sokovin

  I'd like to create a stored procedure that can accept a string with multiple values as a parameter, and then put that into an IN clause in the query.  


You might be better off using dynamic SQL in this case. Build your statement into a variable first, and then try EXECUTE IMMEDIATE <your statement>. Details and examples of dynamic SQL should be available in the manual.


Regards,

Victor



     
  <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