16.20 - TRANSFORM - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

Adds UDT transform groups to the user or removes UDT transform groups from the user.

data_type
Name of the user-defined data type (UDT).
group_name
Name of transform group for the data type.

Example: Adding UDT Transform Groups to a User

This example modifies a user to specify the XMLD_STRUCT2INT transform group for the XMLD_STRUCT2 data type, the TD_JSON_VARCHAR transform group for the JSON CHARACTER SET LATIN data type, and the TD_JSON_VARCHAR transform group for the JSON CHARACTER SET UNICODE data type.

MODIFY USER TEST_XFORM AS TRANSFORM (XMLD_STRUCT2 = XMLD_STRUCT2INT, JSON CHARACTER SET LATIN = TD_JSON_VARCHAR, JSON CHARACTER SET UNICODE = TD_JSON_VARCHAR);

Example: Removing UDT Transform Groups from a User

This example removes the UDT transform groups from the user.

MODIFY USER TEST_XFORM AS TRANSFORM ();

Usage Notes

You can specify up to 256 data_type-transform_group pairs for a user.

If the user has a profile, the transform group for the UDT in the user's profile is used.

You can only add, replace, or remove entire transform group settings. You cannot add or remove individual data_type-transform_group pairs.

After transform settings are changed, the user must log out and log in again to use the new settings.