Quantcast
Channel: Teradata Forums - Tools
Viewing all articles
Browse latest Browse all 4252

Fastload Problem: Invalid Fastload Statement - response (3) by tdfan

$
0
0

Thanks for all the response.
I am stuck in loading a timestamp column. Following is my script, can you pls help?
 

sessions 100;

 

.LOGON TDPROD2/auxu,Ninth89xu;

 

DROP TABLE dl_xaas_new.tmtest;

 

    CREATE TABLE dl_xaas_new.tmtest

    (dtime timestamp(6));

 

.RECORD 2;

.set record VARTEXT "";

 

begin loading dl_xaas_new.tmtest ERRORFILES dl_xaas_new.dtime_ERR1, dl_xaas_new.dtime_ERR2;

 

define

dtime (varchar(100))

    

file=C:\Users\auxu\Desktop\d.txt;

 

show;

checkpoint 50000;

 

insert into dl_xaas_new.DW_CSM_AGENTASSIGNMENT_ACCOUNT (

    cast(:dtime as TIMESTAMP(0) format 'yyyy-mm-ddbhh:mi:ss')

    );

 

end loading;

 

.LOGOFF;


Viewing all articles
Browse latest Browse all 4252

Trending Articles



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