SET SESSION FUNCTION TRACE Example | Teradata Vantage - 17.10 - SET SESSION FUNCTION TRACE Example - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

The following example enables function trace processing for the current session, writing the trace data into the global temporary trace table named udf_diagnostics.

     SET SESSION FUNCTION TRACE USING 'diag,3' 
     FOR TABLE udf_diagnostics;