Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

why should we use SET table ? - response (16) by Fred

$
0
0

Not exactly. Duplicate row check is being done in both cases, but in your example the entire rows (1,1) and (1,2) are not duplicate so neither is eliminated. Therefore the uniqueness violation on the PI is reported.
In my example, the rows (1) and (1) were identical so one was quietly discarded, and there was no uniqueness violation.


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>