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

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Purpose

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

Syntax

attach udf systemname/username,password
systemname
The name of the Teradata system to log onto as a debugger.
username
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.
password
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.