Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any logs of the MSSQL queries being performed ??

Status
Not open for further replies.

ftrudeau

Programmer
Mar 25, 2003
1
CA
Greetings, I have a MySQL/Linux background, and I have to play a little with MSSQL for my current job ... I use to look at the mysql queries logs under linux, in order to diagnose possible problems, and that helped me a lot. Is there the same thing under MsSQL ? A place where all the queries get logged ? If so where, and where can I configure it. Thanks, that would help me a lot =)
 
They all get logged in the transaction log, though unfortunately you cant look at that (well you can with 3rd party tools eg Luminent Log Explorer)

You can use SQL Profiler a tool which comes with SQL Server to run traces on the database. It is pretty useful in diagnosing problems and seeing who is doing whats what. Its not something that you have running all the time though, as theres obviously overhead etc, also theres a lot you can do with Windows Perf Monitor to diagnose performance problems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top