Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 26 Mar 2003 @ 01:06:33 GMT


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


Subj:   Re: Timestamp difference
 
From:   Ganga Palakattil

Hi Rohit,

Could you give a real example:

For example tblXYZ is the table, BEGIN_TIME is the smaller timestamp and END_TIME is the larger timestamp, the following gave me inaccurate results.

SELECT minute(END_TIME - BEGIN_TIME)
FROM tblXYZ;

I want the total difference in minutes sometimes and total difference in seconds sometimes.


Thanks

Ganga Palakattil



     
  <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