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;