|
Archives of the TeradataForumMessage Posted: Tue, 02 Dec 2003 @ 17:24:01 GMT
Hi All, I am getting the garbage included in the result of a fastexport for a query which runs properly in BTEQ. In BTEQ. SELECT ''''||trim(both from (tc.a))||''''||' '||''''||'akakaka.b'||'''' ; *** Query completed. One row found. One column returned. *** Total elapsed time was 1 second. ((((((''''||Trim(BOTH FROM a))||'''')||' ')||'''')||'akakaka -------------------------------------------------------------------- '/Vivek/Pandey/Germany' 'akakaka.b' In FASTEXPORT. .LOGTABLE test_101 ; .logon tdpid/username,passowrd; .BEGIN EXPORT ; .EXPORT OUTFILE indidata FORMAT text mode record; SELECT ''''||trim(both from (tc.a))||''''||' '||''''||'akakaka.b'||'''' ; .END EXPORT; .Logoff; $ cat indidata #'/Vivek/Pandey/Germany' 'akakaka.b' <--- garbage(#) in the begining of the record. (This garbage value changes for the different combination of strings in the select.) However the fastexport runs fine if I typecast the select string as a fixed char. Any clues ?? The fastexport release is FEXP.07.06.02.000 in v2r5. Thanks, Vivek.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||