Archives of the TeradataForum
Message Posted: Wed, 01 Sep 2004 @ 13:13:37 GMT
Subj: | | Re: FAST EXPORT Replace function |
|
From: | | Michael Tarajos |
Under Unix or Windows environments we have used fast export to generate clean ASCII text by simply casting each column as a char(xx) . This
solves the problem of binary data in the fast export file.
For example:
.EXPORT OUTFILE test.data FORMAT TEXT MODE RECORD;
SELECT CAST (T.col1 AS CHAR(03) ),
CAST (T.col2 AS CHAR(01) ),
CAST (T.col3 AS CHAR(10) ),
Etc..
Michael D. Tarajos
ARC Production Support Team
|