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;
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;