Hi Dieter,
I am really puzzled with Timestamp handling.
I have re-arranged my data as :
SUBSCRIBER_REPORT|SUBSCRIBER_REPORT|N|2013-03-12|2013-03-13|2013-03-13 12:30:00|2013-03-13 04:35:00|N|N|N|N|N|GREEN|N|N|SYSTEM
In USING part of IMPORT i have made the ammendments as VARCHAR as suggested:
Load_START (VARCHAR(20)) ,
Load_END (VARCHAR(20)) ,
In the INSERT query i have used the following:
CAST(:Load_START AS TIME(0)FORMAT 'yyyy-mm-dd hh:mi:ss'),
CAST(:Load_END AS TIME(0)FORMAT 'yyyy-mm-dd hh:mi:ss'),
And now the PARCEL LENGHT error is fixed but receiving invalid time error:
*** Warning: Out of data.
*** Failure 3530 Invalid FORMAT string 'yyyy-mm-ddhh:mi:ss'.
Statement# 1, Info =0
Can you please suggest on this.
Also if you have any posts/articles for Date Time arithmetic in Teradata, it will be really helpfull for me.
Hi Dieter,
I am really puzzled with Timestamp handling.
I have re-arranged my data as :
In USING part of IMPORT i have made the ammendments as VARCHAR as suggested:
In the INSERT query i have used the following:
And now the PARCEL LENGHT error is fixed but receiving invalid time error:
Can you please suggest on this.
Also if you have any posts/articles for Date Time arithmetic in Teradata, it will be really helpfull for me.