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

 All Forums
 SQL Server 2008 Forums
 High Availability (2008)
 Query log?

Author  Topic 

taunt
Posting Yak Master

128 Posts

Posted - 2013-07-10 : 12:09:07
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

352 Posts

Posted - 2013-07-10 : 12:25:21
What type of information are you looking for?

djj
Go to Top of Page

taunt
Posting Yak Master

128 Posts

Posted - 2013-07-10 : 13:45:20
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
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2013-07-10 : 16:00:18
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
   

- Advertisement -