Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Feb 2009 @ 10:01:49 GMT


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


Subj:   Query with NOT IN and quotes
 
From:   Anomy Anom

<-- Anonymously Posted: Fri, 6 Feb 2009 09:52 -->

Hi all,

i'm trying to run a query selecting from a table with a not in clause. some of the statements that i want in the not in clause have quotes around one word, this is giving problems when i run the query.

     where StatementText not in (
     'SELECT InfoData FROM dbc.dbcinfo where InfoKey ='release''
     )

I'd appreciate if anyone could advise how to get around that


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: 15 Jun 2023