attach udf Command | Command-line Debugging for UDFs | Teradata Vantage - 17.10 - attach udf - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

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

This command is used to create a Teradata C/C++ UDF Debugger session on the requested system.


attach udf systemname/username,password

Syntax Elements

The name of the Teradata system to log onto as a debugger.
The name for the user account to use to log on.
The username must be same as the username used to run the UDF that is to be debugged.
The password for the account.

Usage Notes

attach udf may be issued before or after you start the UDF to be debugged in bteq; however, you must create the Teradata C/C++ UDF Debugger session before you issue other UDF-specific debugging commands. This command attaches the debugger to the database, not to a specific database session.