Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 29 Nov 2006 @ 15:03:40 GMT


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


Subj:   Week of the year
 
From:   nazy_gholizadeh

Hello,

How can we found the week of the year from a date type ?

In Oracle:

     sel to_char('2006-01-09','YYYY-IW') AS WEEK_NBR  from dual;

     WEEK_NBR
     ---------------
     2006-02

How is it done in Teradata ?


Thanks

Nazy



     
  <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: 27 Dec 2016