Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 05 Aug 2010 @ 18:16:00 GMT


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


Subj:   SQL error 5407
 
From:   JAMES PARK

I ran below SQL to extract all rows that have a timestamp newer than one week ago but got an error code 5407. How should I change this SQL?

     SELECT
     *
     FROM DBC.Logonrules
     WHERE Date - CreateTimeStamp < 7
     ORDER BY CreateTimeStamp DESC;


     
  <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: 27 Dec 2016