|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Wed, 14 Mar 2007 @ 11:44:32 GMT
 
 Hi all, I am looking to pass in variables to some select statements, for example in the following statement I am looking to pass in a number of different values for a, e and g (from a temp table, variable etc). 
     SELECT a FROM b WHERE d = e AND f = g
This doesn't seem as straightforward as it would be using cursors in sql server. Any ideas anyone? 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||