Home Page for the TeradataForum
 

Archives of the TeradataForum

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


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


Subj:   Re: Invalid timestamp
 
From:   PATIDAR PRAHLAD

June got on 30 days and you have to cast timestamp...

Following should work..

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


     
  <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