17.10 - Example: Create User that Includes UDT Transforms - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

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);