The SE_Trace() function

The SE_Trace() function provides tracing for spatial data type functions.

The SE_Trace() function provides the following levels of tracing:
Level 1
SQL function entry and exit
Level 2
Secondary function entry and exit
Level 3
Miscellaneous additional tracing
Important: You should turn off tracing during normal use, because it can generate tremendous amounts of trace output data. It is intended for use byHCL Software Support in isolating problems.

Syntax

SE_Trace(pathname lvarchar, level integer) 

Where pathname is a file name and full path on the server machine and level is 1, 2 or 3.

Return type

The text string OK, if the function was successfully executed

Example

This example shows the file separator for UNIX™: a forward slash (/). If you are using a Windows™ platform, substitute the UNIX file separator with a backslash (\) in the path name.
execute function SE_Trace ('/tmp/spatial.trc', 1);