Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 09 Jan 2008 @ 16:31:48 GMT





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




Subj:   Re: Most efficient way to make Date field into char(4) YYMM
 
From:   Anomy Anom



<-- Anonymously Posted: Wed, 9 Jan 2008 10:30 -->

Syntax:

     select cast(cast(current_date as format 'yymm') as char(4))




     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 01 Dec 2008