Return-identity-data - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-18
dita:mapPath
lvt1544831946862.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

Return-identity-data specifies whether data is returned in response to an SQL Insert operation when Identity columns are involved. An Identity column is a table column created using the 'GENERATED ... AS IDENTITY' SQL syntax.

In this language... The variable name for Return-identity-data is...
COBOL RETURN-IDENTITY-DATA
PL/I RETURN_IDENTITY_DATA
C, C++ returnIdentityData
IBM Assembler DBRIRID
This routine... Takes this action for Return-identity-data...
DBCHINI writes
DBCHCL reads (IRQ; RSUP; IWPF)
Return-identity-data is used by... To...
applications write

One of the following values may be set before initiating a request:

If Return-identity-data is set to... Then Return-identity-data...
'N' indicates that no fields are returned.
'C' indicates that the values for any Identity columns is returned.
'R' indicates that the values for all fields in an inserted row that contains Identity columns are returned.
If not specified, "N" is assumed.