SingleRowRelation - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantage™

Function of SingleRowRelation

Captures the row returned by a single row relation in the form of an INSERT statement. This statement is run by TSET at a later time.

SingleRowRelation Table Definition

CREATE SET TABLE SingleRowRelation (
  QueryID                 INTEGER NOT NULL,
  DatabaseName            VARCHAR(128) CHARACTER SET UNICODE
                          NOT CASESPECIFIC NOT NULL,
  TableName VARCHAR(128)  CHARACTER SET UNICODE 
                          NOT CASESPECIFIC NOT NULL,
  InsertStatement VARCHAR(10000)   CHARACTER SET UNICODE
                          NOT CASESPECIFIC)
PRIMARY INDEX ( QueryID );

Attribute Definitions for SingleRowRelation

The following table defines the SingleRowRelation table attributes:

Attribute Description
QueryID
  • Unique identifier for the query to which the recommendation applies.
  • Partial NUPI for the table.
DatabaseName Name of the containing database for TableName.
TableName Name of the table in which to insert the statement.
InsertStatement Statement to insert into the specified table.