Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 21 Sep 2004 @ 13:17:29 GMT


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


Subj:   Re: Comparing varchar and date columns
 
From:   Agrawal, Birendra

Hi shrikant,

You can change the date coulmn format to (DD-MMM-YYYY) and then compare it with column having varchar.

     select * from tab1 where col1(format 'DD-MMM-YYYY') = col2;
     Where col2 is varchar and col1 is date;

Regards,

Birendra



     
  <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