Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 Rook Sep 7 '12 at 7:45
    
All of the above. –  Tommy O'Dell Sep 7 '12 at 8:40
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.