Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 02 Dec 2003 @ 17:24:01 GMT

  <Prev Next>  
Next> Last>>  

Subj:   Fastexport fetching garbage
From:   Vivek Pandey

Hi All,

I am getting the garbage included in the result of a fastexport for a query which runs properly 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'


.LOGTABLE test_101 ;
.logon tdpid/username,passowrd;

.EXPORT OUTFILE indidata FORMAT text mode record;

SELECT ''''||trim(both from (tc.a))||''''||' '||''''||'akakaka.b'||''''



$ 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. in v2r5.

Thanks, Vivek.

  <Prev Next>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023