Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 02 Dec 2003 @ 18:53:47 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


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



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