Hi,
Is it possible to get the start and the end time of each statement sent to the database. I want to create a log with these performances.
Regards,
You should add trace switches in the config file of your application. Also you need to add a trace listener to capture the trace at runtime.
You can find an example in the following thread, with an extra tip of how to get the timestamp into the trace. http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=13069
For detailed info about the trace switches please check: Troubleshooting and debugging