Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Mon, 16 Jul 2012 @ 14:04:09 GMT

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

Subj:   Re: Select records with valid values except the key field
From:   Nimmala, Meher

Hi Rajesh,

SQL should have OR condition, not AND condition to meet your requirement.

     Select * from emp
     Where dept is not null
     OR grade is not null
     OR  pone is not null
     OR cell is not null


  <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: 23 Jun 2019