[Insert phase]{FileAmp}” Access lock” on target
Row available in Amp and Disk but not in sequence
Data available in the Amp and disk but not in stored order
[End loading phase]
Rows in amp and Disk are in sequence
Data in the Amp Disk are in stored order
Note
Refer to the material for more Description of each phase
.Set Record unformatted;
.Run File c:BTEQConn.Txt;
Database vinayaka;
Drop Table erparty3;
Drop table uvparty3;
Delete from party3;
Begin loading party3
Error files exparty3,Uvparty3
Checkpoint10;
Define
i-pid(char(1)),
i-PNUM(char(5)),
i-PCode(char(2)),
i-Pinc(char(5)),
CRLF(Char(2))
[CRLF=Enter character]
File=c:Fastloaddata-fixed.txt;
Insert INTO party3
(Party id, party name, email, party code, Jdate, party income user created)
Values(
: I-Pid,
: I-PNm,
‘Tera data vinay@yahoo.co.in’,
: I-Pcode,
Current-Date(Formal’yyyy-mm-dd’),
: I-PINC,
);
END Loading;
.LOGOFF
Inclined to build a profession as Teradata Developer? Then here is the blog post on, explore Teradata Training
.Set Record Vartext”,”;
Session4;
.Run File c:BTEQConn.TxT;
Database vinayaka;
Drop table erparty4;
Drop table UV party4;
Delete from party4;
Begin Loading party4
Error files erparty4, UVParty4
Check point 10;
Record2;
/*errlimit10;*/
Define
i- pid (Varchar(30)),
i-PNM(Varchar(30)),
i-PCode(Varchar(30)),
i-pinc(Varchar(30)),
File=c:Fast loaddata-vartext.txt;
Insert into party4
(Party id, party name, email, party code, J date, party income, user created)
Values
(
:i-pid,
:i-PNM,
‘Tera data vinay@yahoo.co.in’,
31300,
Current-Date(Format’yyyy-mm-dd’),
:i-pinc,
);
End Loading;
.LOGOFF
[//select *From ET-Party41]
Select* From UVParty4
Ex: Insert into party(5Columns)Values(4Columns)
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.