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