attach udf Command | Command-line Debugging for UDFs | Teradata Vantage - attach udf - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1147
lifecycle
latest
Product Category
Teradata Vantageā„¢

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

Syntax

attach udf systemname/username,password

Syntax Elements

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.