Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 21 Mar 2003 @ 14:12:19 GMT


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


Subj:   Re: Fastload and default values
 
From:   McBride, Michael

No, just do not reference the column name in the insert statement: If you have TableA defined with three columns col1, col2, col3 where col2 is not null with a default value;

Then in the fastload insert:

Insert into TableA (col1,col3) values (:in_col1, :in_col3);

The lack of a reference to the col3 will insert the row with the default value...


Michael E. McBride
Teradata Certified Master
Teradata Database Administrator
Data Architect and Data Warehouse Practitioner
American Eagle Outfitters



     
  <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