Logging SQL Statements (Microsoft Windows)
Use
Select the Trace On option for a data source, if you want to log the SQL statements that are transferred from the application to the database system. You can set this option for existing data sources or when creating a new data source.
The following data is recorded:
Procedure
Result
The next time that you log on to the database server using this data source, the system logs all SQL statements that are transferred by the application to the database system.