Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 05 Aug 2010 @ 19:09:00 GMT


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


Subj:   Re: SQL error 5407
 
From:   Mohommod.Khan

Please try some thing like this:

     Select *
     FROM DBC.Logonrules
     WHERE
     ((
     (current_timestamp(0))
                       -  (CreateTimeStamp ( timestamp(0)))
                   )  day(4) ) <7
      ORDER BY CreateTimeStamp DESC
                   ;

HTH!



     
  <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