SET SESSION DEBUG FUNCTION SQL Statement | Teradata Vantage - 17.10 - 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
Release Date
July 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 the information about C/C++ command-line debugging for UDFs in Teradata Vantage™ - SQL External Routine Programming, B035-1147.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

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.