Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 18 Aug 2008 @ 12:48:42 GMT


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


Subj:   Subtract 30 days from current_timestamp(0)
 
From:   Kishore Kanigelpula

Hi All,

I am having a query to subtract 30days from current_timestamp(0). Getting error if I written in bellow manner.

     Select Current_timestamp(0) - 30 as prunedate From (Select 1) Tmp (ONE);

Any help will be appreciating. Thanks in advance.


Thanks,

Kishore KK



     
  <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