Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 01 Sep 2004 @ 13:13:37 GMT


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


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



     
  <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