Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Aug 2010 @ 21:27:00 GMT


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


Subj:   Re: SQL error 5407
 
From:   jaydeeppatel

You may need to cast the timestamp to date ..

This should work ..

     SELECT
     *
     FROM DBC.Logonrules
     WHERE Date - cast(CreateTimeStamp as date) < 7
     ORDER BY CreateTimeStamp DESC;

Regards

Jaydeep.



     
  <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