|
|
Archives of the TeradataForum
Message Posted: Tue, 02 Dec 2003 @ 18:53:47 GMT
Subj: | | Re: Fastexport fetching garbage |
|
From: | | Maddox, Danny |
Vivek,
The "garbage" is the 2-byte record length of the data row. Concatenation defaults the data as VARCHAR, return the 2-byte record length.
When the data is CAST as CHAR, the data is fixed length and the 2-byte record length is not returned with the data.
CASTing the data as CHAR inhibits the 2-byte record length. If you are on UNIX, you can return the data as VARCHAR with the 2-byte
record length and use the UNIX cut command to chop off the 2-byte record length.
Danny Maddox
Teradata, division of NCR Corporation
| |