Using UPDATE (Upsert Form) Requests with Scalar Subqueries - Teradata Database

SQL Data Manipulation Language

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata® Database

The rules for using scalar subqueries with UPDATE (Upsert Form) requests are the same as those for simple UPDATE requests (see “Rules for Using Scalar Subqueries in UPDATE Requests” on page 482) with the exception of the following additional rule:

  • Because the UPDATE component of an upsert operation must be a simple update, you cannot specify a correlated scalar subquery in its SET clause or its WHERE clause.