Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 08 Jun 2000 @ 02:05:12 GMT


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


Subj:   Re: Loading Packed data to A Date column
 
From:   Michael Larkins

Hi All:

I am new to this list, before I retired from NCR I taught the utilities and did a lot of work with them.

I think if I were attempting to solve this problem, here is what I would do:

1. In the DEFINE use the Decimal(5,0) as previously suggested.

2. Set the CenturyBreak value in the DBS Control record to 00, so that all incoming years are interpretted as 2000+

3. On the INSERT for the DATE column --> :TRANDATE (DATE, FORMAT 'YYMMM')

Assuming the date field is a signed numeric COMP data type, this has a good chance of working.


Regards,

Mike



     
  <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