Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fastload TAB delimiter

Status
Not open for further replies.

jliang

MIS
Joined
Apr 26, 2004
Messages
30
Location
US
Hi,

I need load the flat file with TAB delimiter to Teradata using Fastload. Does anyone can tell me the syntax for this?

Thanks very much in advance.

J
 
Just key in a TAB as delimiter

BEGIN LOADING ...

SET RECORD VARTEXT " ";

DEFDINE ...

Dieter
 
Can I do same way for fastexport? such as

.export outfile test.txt
mode record format vartext " ";

Thanks very much.

Jing
 
No, there's no Vartext for export...

Cast all columns to varchars and concatenate with the delimiter character.
Then ".export format text mode record"
This still leaves two bytes varchar length in your output, remove it e.g. with an Outmod

Check
for a possible solution

Dieter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top