Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 31 Oct 2006 @ 13:04:05 GMT


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


Subj:   Re: Calculating Months between two dates
 
From:   ARUSWAV

Hi !!!

You can try with EXTRACT Function. Extract function can be used both in Where and Select clauses.

Syntax for Extract as follows.

     Select Extract (Param1 from ) from 

Parameter, Param 1 accepts values like Day, Month, Year, Hour, Minute and Second and fetch the appropriate outputs.


Thanks,

Vijayragunath.A,
Teradata Administrator,
Wipro Technologies.



     
  <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