Archives of the TeradataForum
Message Posted: Sat, 20 Jul 2002 @ 14:27:51 GMT
In short No. You need to pass as many parameters as needed in the IN clause.
You could "assume" that there will be max n parameters, pass the ones you want and null the rest - further "assuming" that ColumnA is not nullable (where ColumnA in (1 , 4, NULL, ... , NULL) . Not pretty. With Stored procedures you could dynamically create the sql but you do not have (as far as I know) access to the result set.
I hope this helps,
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|