Archives of the TeradataForum
Message Posted: Mon, 22 Aug 2005 @ 17:42:58 GMT
Subj: | | How do I use the NOT CS clause in the IN CLAUSE ? |
|
From: | | Marcus_Joseph |
Hi
How does one use the NOT CS clause in the IN CLAUSE ? The following SQL fails to return all rows in ANSI mode when the table names are a
combination of either case.
Select * from
DBC.TABLES
WHERE DatabaseName (NOT CS) = 'TEST1' (NOT CS)
AND TABLENAME (NOT CS) IN ('T1', 'T2');
I frame the list for the IN clause through a program and do not wish to force the table names to upper case using MFC functions.
Any suggestions ?
thanks
|