|
Archives of the TeradataForumMessage Posted: Tue, 04 May 2004 @ 09:02:05 GMT
I'm unable to use NOT CS in the IN clause. How do I specify the case sensitive modifier in the IN clause ? eg: Case 1: The SQL Sel * from dbc.databases where databasename (NOT CS) ='D1' (NOT CS) OR databasename (NOT CS) = 'D2' (NOT CS); Equivalent SQL using IN clause Sel * from dbc.databases where databasename IN ('D1', 'D2'); Case 2: The SQL with the NOT CS clause Sel * from dbc.databases where databasename (NOT CS) ='D1' (NOT CS) OR databasename (NOT CS) = 'D2' (NOT CS); Equivalent SQL using IN clause and NOT CS Sel * from dbc.databases where databasename IN ('D1' (NOT CS), 'D2' (NOT CS)); *** Error 3707 Syntax error, expected something like ')' between ')' and ','. Statement# 1, Info =68 *** Total elapsed time was 1 second.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||