SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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  

taunt
Posting Yak Master

119 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.

Thanks

djj55
Constraint Violating Yak Guru

USA
337 Posts

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

djj
Go to Top of Page

taunt
Posting Yak Master

119 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

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2075 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
--------------------
http://www.sqlserver-dba.com
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.05 seconds. Powered By: Snitz Forums 2000