UPSERT-support - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

UPSERT-support might be used to ascertain whether the SQL UPSERT statement is supported by the database.

Refers to the TDP whose TDP identifier is addressed by the QEPTIDP field and has length specified by the QEPTLEN field. Since they do not apply, the QEPRQST and QEPTOKEN fields must contain binary zeroes.

Returns whether the UPSERT SQL statement is supported by the database.

This item is also included in the Aggregate-support-list query item.

Item Code Mnemonic Response DBQERUPS (DbqerUps for C)
Field Value
15 QEPIUPS QERUPS ('status' for C) One of the following EBCDIC characters:
  • 'N' with mnemonic QERUPSN (QER_NotSupported for C)
  • 'Y' with mnemonic QERUPSY (QER_Supported for C)