AS ASSIGNMENT - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

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
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™
To implicitly invoke the specified cast routine on an assignment operation if both of the following statements are true:
  • The source data type of the assignment is compatible with the source data type of the cast result.
  • The target data types are identical.
Note that an assignment operation is defined to be any of the following operations:
  • INSERT
  • UPDATE
  • parameter passing

You can disable this functionality by means of the DisableImplCastForSysFuncOp DBS Control parameter.

Be very careful if you are performing a REPLACE CAST statement because the system updates the UDTCast dictionary to reflect the value of the AS ASSIGNMENT flag.