Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Apr 2010 @ 13:44:08 GMT


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


Subj:   Re: Problem with casting Date value
 
From:   Pradip.Bhogal

I think this will work for you

     SELECT TOP 10
        CAST(CAST(CREATEDATE AS DATE FORMAT 'YYYY-MM-DD'  ) AS CHAR(10))
        FROM DBC.RCEVENT

Thanks

Pradip Singh



     
  <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