16.10 - Upserts - Parallel Transporter

Teradata Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.10
Published
July 2017
Content Type
Programming Reference
Publication ID
B035-2436-077K
Language
English (United States)

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