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

Merge Over Update - response (1) by Wasif.Kabeer

$
0
0
Traditionally, the MERGE is considered to be a better choice than Update & Insert (UPSERT) due to it's strength and flexibility.   UPSERT The Update and Insert part need to reference:  The same table The same row Should use the PI for a respective operation PI shouldn't be an Identity Column   MERGE The Insert portion may specify different partitions The Update can modify partitioning fields Partitioning fields need not be specified in WHERE of Update portion   For additional details, please refer: http://forums.teradata.com/forum/database/merge-vs-upsert-0   -Wasif

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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