15.10 - Example: Logging UDTs with Insufficient Privileges in SYSUDTLIB - 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 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;