Upserts - Parallel Transporter

Teradata Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.10
Published
July 2017
Language
English (United States)
Last Update
2018-06-28
dita:mapPath
egk1499705348414.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2436
lifecycle
previous
Product Category
Teradata Tools and Utilities

Upsert operations update rows if they already exist in a table, and insert new rows they do not already exist. Specified an Upsert operation in an APPLY statement using the expression:

   INSERT FOR MISSING UPDATE ROWS;

An Upsert operation fails only if both the update and the insert fail.

Also, the following specification is usually included for Upsert operations in anticipation of missing rows:

   IGNORE MISSING UPDATE ROWS