Focal Point
Spooling SQL

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2051058331

April 28, 2005, 03:33 PM
Ron R
Spooling SQL
Is there any way to view the sql that is generated from a focus report request?
April 28, 2005, 03:43 PM
Francis Mariani
You can put the following code in the program you would like to trace, or put the code in the cofgi file edasprof.prf to turn on tracing for all requests. After running the program (the output format should be HTML), just right-click your browser and select View Source, the SQL commands and relevant messages will be displayed.

SET TRACEOFF=ALL
-*SET TRACEON = SQLCALL
SET TRACEON = SQLTRANS
SET TRACEON=STMTRACE//CLIENT
SET TRACEON=SQLAGGR//CLIENT
SET TRACEON = STMTRACE/2/CLIENT
SET TRACEUSER=ON
-RUN
April 28, 2005, 03:44 PM
drew billingslea
from this forum:

https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3631058331
/r/3631058331

This message has been edited. Last edited by: Kerry,
April 28, 2005, 03:46 PM
Leah
As an addendum to the post on showing sql

If you don't want to get data just see the code
Add as well.

SET XRETRIEVAL=OFF