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

convert varchar to timestamp - response (7) by KrishnaKulkarni

$
0
0
Hi, I am using TPT to load my table. I am facing an error in converting varchar to TimeStamp(0). The segment code which is giving the error is : STEP LOAD_DATA_INTO_TABLE (    APPLY ('INSERT INTO '||@TargetTable||'(           :IDNT_TICK,     :MSG_ID,     :MSG_ID2,     :MSG_ID_SERV,     :SPLIT_ROW_NUM,     :COMP_REIN_NUMR_FACT,     :NUMR_FACT );')    TO OPERATOR (LOAD_OPERATOR [1])    SELECT * FROM OPERATOR ( FILE_READER [1] ); ); ); IDNT_TICK is the column of data type Timestamp(0) which is defined as varchar(14) in the TPT. Kindly let me know if there are any fixes. Regards, Krishna.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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