Archives of the TeradataForum
Message Posted: Fri, 21 Mar 2003 @ 14:12:19 GMT
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
|