Page 1 of 1

timestamp format

Posted: Fri Feb 24, 2006 6:23 pm
by keshav0307
i have a timestamp column in a sequencial file with a sample value as "2006-02-25 12:10:22.324555", but i am not getting the 6 decimal in output

Re: timestamp format

Posted: Fri Feb 24, 2006 6:32 pm
by kwwilliams
Are you going into database? Sequential File? What's the data type you are using to read the timestamp (leangth as well)?

I have you tried putting a peek right after the file stage to see if the data is being read by data stage correctly?

Re: timestamp format

Posted: Fri Feb 24, 2006 8:29 pm
by keshav0307
i am using to read from a seuential file, and after transform insert into teradata table

Posted: Sun Feb 26, 2006 6:50 am
by sajarman
Keshav,

While reading from the sequential file stage, define the particular time stamp column as, SQL Type: "Timestamp" and Extended: "Microseconds" in the output -> columns tab. Give values for length as 26 and scale as 6.
Hope this will solve your problem :) .

Best Regards,
Sajarman.

Posted: Sun Feb 26, 2006 8:10 am
by kumar_s
Also check the teradata default timestamp settings.

Posted: Mon Feb 27, 2006 5:27 pm
by keshav0307
i do not find the "Extended" column property

Posted: Mon Feb 27, 2006 5:32 pm
by kumar_s
keshav0307 wrote:i do not find the "Extended" column property
Right click on the Field properties grid. You can find the list of check option. Extended option might be unchecked.

Posted: Tue Feb 28, 2006 6:51 pm
by DSguru2B
You should go by the book. :D

Posted: Tue Feb 28, 2006 7:03 pm
by rasi
Hi Double click you sequential file stage and click the output button and then Columns tab. Inside that right click and select properties inside that you will find Extended column in Position 4