17.05 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)
You can only debug one function per session at a time. After you set debugging on for a function, debugging remains enabled until one of the following occurs:
  • Debugging is turned off for the function.
  • Debugging is turned on for another function with a subsequent SET SESSION DEBUG FUNCTION statement.
  • The session terminates.

After you set debugging on for a function and a query invokes the function, the function is passed to the debugger. If a debugger is not active, the query cannot complete until the debugger is started, attaches to session running the query, and allows all instances of the function being debugged to complete.