Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 27 Oct 2003 @ 22:00:14 GMT


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


Subj:   Using a NULLIF in FASTLOAD
 
From:   Hermina Pereira

I am trying to replace an MLOAD with a FASTLOAD.

In order to do this, one of the steps involves nullifying a field based on a value (Eg. a 'dot' ) in a preceding field. This was possible using MLOAD

FIELD AA               * CHAR(1);
FIELD BB   *  CHAR(8)  NULLIF  AA = '.';

How can I achieve the same using FASTLOAD ?

I did come across a Define T1(integer, nullif = value) But this sets T1 to null, based on its value in load file. I would like this to be dependent on a value in another field, rather than the value of T1 in the file.

Could someone please tell me if they have done something similar ?



     
  <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: 27 Dec 2016