Teradata supports timestamp up to 6 decimals, your timestamp is 9 decimals (!!).
If you want to get a TS(0) you should try to get rid of the fractional digits:
BTEQ -- Enter your SQL request or BTEQ command:
select cast('05-MAR-12 01.33.34 PM' as timestamp(0) format 'DD-MMM-YYbhh.mi.ssbT');
*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.
'05-MAR-12 01.33.34 PM'
-----------------------
05-Mar-12 01.33.34 PM
HTH
Cheers.
Carlos.
↧