Turns off the debug trace. Use this function to stop tracing function calls that are made to the database. The trace can be turned off globally for all connections or for a specific one.
This function can be called in the foreground or background.
Syntax
SQLTraceOff(hSQL)
hSQL:
The handle to the DB connection object: INVALID HANDLE - The trace is deactivated for all DB connections (default), otherwise - The trace is deactivated for this specific DB connection object.
Return Value
0 (zero) if successful, otherwise an error number is returned. (For details of the 307 error code, call the SQLErrMsg function).
Related Functions
SQLErrMsg, SQLTraceOff, SQLTraceOn
Example
See SQLFieldInfo
See Also
Published June 2018