SET SESSION DEBUG FUNCTION SQL Statement | Teradata Vantage - 17.05 - SET SESSION DEBUG FUNCTION - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
January 2021
Content Type
Programming Reference
Publication ID
English (United States)

Identifies the UDF, UDM, or stored procedure to be run in debug mode the next time the function, method, or stored procedure is invoked.

For more information, see CREATE PROCEDURE and REPLACE PROCEDURE (External Form), CREATE FUNCTION and REPLACE FUNCTION (External Form), CREATE METHOD, and “C/C++ Command-line Debugging for UDFs” in Teradata Vantage™ - SQL External Routine Programming , B035-1147 .

Required Privileges

You must have the EXECUTE FUNCTION and the DROP FUNCTION privilege on the function or stored procedure you want to debug.

You must have the UDTMETHOD and the UDTUSAGE privileges for the method you want to debug.