17.00 - Example: Logging on First UDT Method with SQL Text - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

This example logs the first of the following operations and logs its SQL text.

  • ALTER METHOD
  • ALTER TYPE
  • CREATE CAST
  • CREATE METHOD
  • CREATE ORDERING
  • CREATE TRANSFORM
  • CREATE TYPE
  • DROP CAST
  • DROP METHOD
  • DROP ORDERING
  • DROP TRANSFORM
  • DROP TYPE
  • REPLACE CAST
  • REPLACE ORDERING
  • REPLACE TRANSFORM
  • method invocation
  • NEW specification
  • UDT reference
         BEGIN LOGGING WITH TEXT 
         ON FIRST UDTMETHOD 
         ON DATABASE SYSUDTLIB;