Return-identity-data - 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

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.