Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 Query log?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

128 Posts

Posted - 07/10/2013 :  12:09:07  Show Profile  Reply with Quote
Hello, I was wondering if SQL Server 2008 kept a query log? I know the logs in management>sql server logs, but I didn't find any query info. Any help would be great.


Constraint Violating Yak Guru

352 Posts

Posted - 07/10/2013 :  12:25:21  Show Profile  Reply with Quote
What type of information are you looking for?

Go to Top of Page

Posting Yak Master

128 Posts

Posted - 07/10/2013 :  13:45:20  Show Profile  Reply with Quote
Any queries that modify any tables. If it can do it anything like show all the select queries. That would work too.
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 07/10/2013 :  16:00:18  Show Profile  Visit jackv's Homepage  Reply with Quote
A trace can capture sql statements . You can also use Extended Events to capture specific types of queries.

It depends on your intention of how you want to use the queries

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 1.19 seconds. Powered By: Snitz Forums 2000