15.10 - Example: Logging on First UDT Method with SQL Text - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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;