Archives of the TeradataForum
Message Posted: Mon, 05 Jul 2004 @ 17:19:42 GMT
Subj: | | Re: Order of Records in Source file for MLOAD |
|
From: | | Victor Sokovin |
I have to take back the conclusion part of my statement after just applying my own advice to myself and reproducing the situation with some
test data. Analyzing my thinking process I can't understand why I started talking about duplicates, which were not even mentioned in the question
and were not relevant here at all. Probably got carried away.
Anyway, as Dieter has just pointed out, the first record will be inserted and the second will update it, regardless whether both records happen
to be the same (duplicates in the file). The fact that UPDATE is attempted before INSERT for each record in the input file guarantees that there
will be no problems on this level. At least that part of my statement was correct.
I am sorry for any possible confusion caused by the previous message.
Victor
|