Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Mon, 16 Jul 2007 @ 15:11:24 GMT


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


Subj:   Re: Selecting date without quotes
 
From:   DWellman

Hi,

If the value in Col1 is 14th July 2007 then your first query should be

     Sel * from table where col1 = 1070714;

As you said, Teradata dates are based on 1 Jan 1900.


Cheers,

Dave

Ward Analytics Ltd: Information in motion (www.ward-analytics.com)



     
  <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: 28 Jun 2020