![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 06 Nov 2002 @ 16:36:07 GMT
Hi, Does anyone know how to use INDICATORS field in BEGIN LOADING STATEMENT in fast load script.. I have following script running on windows 2000
--------------------------
sessions 2;
errlimit 25;
logon demo1099/test1,test1;
CREATE TABLE emp1 (
Empno SMALLINT,
Name VARCHAR(12),
PhoneNo SMALLINT)
UNIQUE PRIMARY INDEX (EMPNo);
set record unformatted;
define
delim0(char(1)),
EmpNo(char(5)), delim1 (char(1)),
Name(char(12)), delim2 (char(1)),
PhoneNo(char(4))
newlinechar(char(2))
file= emp1.txt;
show;
begin loading emp1 errorfiles error_1, error_2
INDICATORS;
insert into emp1 (
:EmpNo,
:Name,
:PhoneNo
);
end loading;
logoff;
---------------------------
emp1.txt contains following
--------------------------
|12345|abcdefghi|1234
|12346|zbcdefghi|1235
-----------------------
This works without INDICATORS..... how to set indicator bit filed in the emp1.txt file? THANX Reddy
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||