Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Nov 2004 @ 14:19:12 GMT


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


Subj:   Re: Fast Export Decimal problem
 
From:   Geoffrey Rommel

  I'm trying to Fast Export from a table which has a number of Decimal fields in it. Some of these fields are Nullable.  


I agree with Jonathan that case expressions are called for -- probably something like

     case
      when field1 is null then -999.99
      else field1
     end

and so on.

Another possibility is to write a Cobol exit from FastExport that would insert the rows directly into DB2. I don't know whether that would be faster than exporting & loading. The principles for writing such an exit are discussed in this paper:

www.teradataforum.com/l030315a.htm



     
  <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