SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

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

Posting Yak Master

126 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

126 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
2167 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  
 New 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 0.09 seconds. Powered By: Snitz Forums 2000