Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Receiving Failure 2673 The source parcel length does not match data that was defined while importing using BTEQ - response (2) by 02CSE33

$
0
0

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.


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>