Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 28 Aug 2007 @ 13:58:06 GMT


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


Subj:   Re: Adding the value of a table column(integer) to current_timestamp
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, August 28, 2007 07:21 -->

Hi Suhail,

try this:

     select
      current_timestamp(0)
     ,col1
     ,current_timestamp(0) + cast(col1 as interval SECOND )
     from test

This should work for your problem.


Best wishes



     
  <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