SQL logging allows you to view the SQL statements Adaptive Server plug-in sends for a search.
To enable SQL logging, right-click the server name in the left pane of Sybase Central and select Log SQL Statements.
The following options are available:
Log Statements to a Window – output from any SQL statement goes to standard out.
Log Statements to aFile – output from any SQL statement goes to the specified file. Select Browse to specify files with Windows Explorer.
Wrap Text – select the number of characters per line. The default is 80.
Add Date and time to output –include the date, time, and elapsed time for the SQL statements’ execution.
Append GO After Each Statement – automatically include a go statement at the end of each SQL statement.
Do Not Log SELECT – exclude select statements sent the server (helps to minimize the output because the Adaptive Server plug-in sends many select statements).
Log SQL Output – include the query results from the SQL statements in the log file.
Show Row Numbers – include row numbers in the query results.