FNC_Trace_String Function | C Library Functions | Teradata Vantage - FNC_Trace_String - 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ā„¢

Returns the current setting of the UDF, UDM, or external stored procedure trace string set up with the SET SESSION FUNCTION TRACE statement.

Syntax

void
FNC_Trace_String ( void  *TraceStr )

Syntax Elements

TraceStr
a pointer to memory that can hold the trace string.
The trace string is in the default character set of the user at the time the function was created or replaced.
The string is zero terminated. For UNICODE, the terminator is 16 bits of zero.
If the trace option is off, the string is set to NULL.

Example Using FNC_Trace_String

SQL_TEXT TraceStr[258];

...

 FNC_Trace_String(TraceStr);

Related Information

For more information on SET SESSION FUNCTION TRACE, see Teradata Vantageā„¢ - SQL Data Definition Language Syntax and Examples, B035-1144.