Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 23 Apr 2015 @ 15:08:13 GMT


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


Subj:   Re: Subtracting two TIMESTAMP
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, April 23, 2015 08:43 -->

Hi Dave,

We work on Teradata 14.10 and error message is below.

Missing/Invalid SQL statement'E(5407):Invalid operation for DateTime or Interval


Do I need to cast them in BTEQ??

     Select (Table.end_time - Table.start time) HOUR TO SECOND(0) as "Time_Taken"from table

Thanks in advance!!



     
  <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: 23 Jun 2019