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

Associates UDT transform groups with the user.

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

Example: Create a User that Includes UDT Transforms

This example creates a user that specifies 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.

CREATE USER TEST_XFORM AS PERM=4E7 PASSWORD=TEST_XFORM TRANSFORM (XMLD_STRUCT2 = XMLD_STRUCT2INT, JSON CHARACTER SET LATIN = TD_JSON_VARCHAR, JSON CHARACTER SET UNICODE = TD_JSON_VARCHAR);

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.

If the UDT has a default transform group, the default transform group for the UDT is used unless the user specifies a transform group.