15.10 - Example: Logging UDTs with Insufficient Privileges in SYSUDTLIB - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)
Last Update
2018-06-05

This example logs all UDT reference, method invocation, and NEW specification attempts that fail because of insufficient privileges on UDTs within the SYSUDTLIB database.

     BEGIN LOGGING DENIALS 
     ON EACH UDTUSAGE 
     ON DATABASE SYSUDTLIB;