Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Feb 2009 @ 20:43:27 GMT


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


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

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

Why struggle to match the free-form StatementText at all?

Maybe

     (DatabaseName <> 'DBC' OR TVMName <> 'DBCInfo')

Or if you prefer

     (DatabaseName, TVMName) not in (SELECT 'DBC','DBCInfo')


     
  <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