Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Tue, 30 Oct 2012 @ 12:49:40 GMT


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


Subj:   Re: Date conversion not working
 
From:   Khan, Taimur

Hi

Try

     sel
     cast(cast(emp_dt as date format 'mm/dd/yyyy') as date format 'yyyy/mm/dd') "dt"
     from tblname
     where dt=date

/Taimur



     
  <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: 28 Jun 2020