|
|
Archives of the TeradataForum
Message Posted: Tue, 15 Jan 2002 @ 18:42:56 GMT
Subj: | | Re: Delimited text files |
|
From: | | Cornelius Meade |
Yes....Here's an example of a part of a fastload control script that shows one possibility....Neil
SET RECORD VARTEXT "," ;
DEFINE
column_1 (varchar(nn)),
column_2 (varchar(nn)),
column_3 (varchar(nn)),
column_5 (varchar(nn)),
column_4 (varchar(nn))
file=xxxxxxxxxx ;
BEGIN LOADING table_a
ERRORFILES table_a_ERR1, table_a_ERR2 ;
INSERT INTO table_a VALUES(
:column_1
,:column_2
,:column_3
,:column_4
,:column_5) ;
END LOADING ;
LOGOFF ;
| |