Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 17 Feb 2011 @ 16:17:16 GMT


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


Subj:   Re: Invalid timestamp
 
From:   John_Wight

OH - forgot to mention - June (06 month) has only 30 days and not 31. This will work as well even without the precision - once you have 'valid date' literal values:

     Sel  *
     from  dbc.qrylog
     where CollectTimeStamp  between TIMESTAMP '2010-06-01 10:10:01' and timestamp
     '2010-06-30 11:00:59'
     sample 5;

JK



     
  <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