|
|
Archives of the TeradataForum
Message Posted: Mon, 05 Jul 2004 @ 15:10:51 GMT
Subj: | | Re: Order of Records in Source file for MLOAD |
|
From: | | Dieter Noeth |
Anomy Anom wrote:
| If a source file has more than one record with same primary index (unique) value, what happens when an UPSERT MLOAD is run to load this
file into a teradata table (with unique primary index) ?. | |
| Will the first record (as per the sequence in the file) be INSERTED (assuming the table did not have the record before) and will the second
record update the just INSERTED record ? | |
Yes.
| If yes, where does this UPDATE happen; in the WORK table before applying to target table or while applying to the target table
? | |
While applying to the target table.
Dieter
| |