![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 10 Feb 2005 @ 21:02:20 GMT
Hi here is a sample script to import a CSV file Modify your script accordingly Hope this helps Sudha
.run file=.tdlogon
.import vartext ',' file='temp.csv' ;
.quiet on
.repeat*
using
( f1 varchar(5),
f2 varchar(5)
)
insert into ud1.temptbl
( f1
, f2 )
values
( cast(:f1 as integer )
, cast(:f2 as integer ) )
;
.quit
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||