Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 08 Dec 2004 @ 15:52:39 GMT


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


Subj:   Re: View the date field in dbc.oldpasswords table
 
From:   Dieter Noeth

Victor Sokovin wrote:

  Does this mean that TD counts days since something like 1 March 1 BC?  


Yes, it's 307 days before 0001-01-01


  I am a bit lazy to calculate the exact day. Interesting start date.  


Don't ask why they choose it ;-)

I forgot a NULLIF in my first post, it's:

     sel
        date '0001-01-01' + ((NULLIF(DBASE.PasswordChgDate, 0)) - 307)
     from dbc.dbase

Dieter



     
  <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