Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 Dec 2004 @ 21:32:02 GMT


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


Subj:   View the date field in dbc.oldpasswords table
 
From:   Bharat_Arumala

All,

I am trying to find out the dates when the passwords where changed due to audit requirements. The dbc.oldpasswords table has the below structure. I am unable to convert the values from the passworddate column to a meaningful date format.

For Ex: my output values for the passworddate are

     732042
     732129

How to I convert the above values to date ?

     CREATE SET TABLE dbc.oldpasswords ,FALLBACK ,
          NO BEFORE JOURNAL,
          NO AFTER JOURNAL
          (
           UserName CHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
           PasswordDate INTEGER FORMAT '--,---,---,--9' NOT NULL,
           PasswordSeed BYTE(2) NOT NULL,
           PasswordString BYTE(8) NOT NULL)
     PRIMARY INDEX ( UserName );

Does the dbc.oldpassword table store the values in Julian date format..?


Thanks Bharat



     
  <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