Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application on my Windows XP SP3 machine that's querying and returning data from a database through the SQL Server Native Client.

Is there a log file being kept that would show me the SQL queries?

share|improve this question
What do you mean by the queries - a log of when the query ran, what data was requested, what data was brought back? All of the above or non? :) – Dave Sep 7 '12 at 7:45
All of the above. – Tommy O'Dell Sep 7 '12 at 8:40

Okay it turns out that you can do this via the Tracing tab in the ODBC Data Source Administrator. Just click on Start Tracing Now

share|improve this answer
guess you beat me to it :-) – Sathya Sep 7 '12 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.