Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 22 Aug 2005 @ 17:42:58 GMT


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


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



     
  <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: 27 Dec 2016