Groups | Blog | Home
all groups > sql server (microsoft) > june 2006 >

sql server (microsoft) : how to trace all executed ,slect,alter and update from sql server 2000


ch.adilaziz NO[at]SPAM gmail.com
6/21/2006 2:15:23 PM
HI !
I need help to know that how can i trace or capture all Tsql statements
(slect,alter and update ) runs on my server on daily
bases.................................
Jens
6/21/2006 3:14:07 PM
Hi,

the only way I can imagine on if you want to have that detailed
information is to let a profiler run on the server or any other
machine, which would (depending on the selected events) a heavy load
and activity on the server.

HTH, Jens Suessmeyer.

---
http://www.sqlserver2005.de
---
Jack Vamvas
6/22/2006 8:26:21 AM
As well as what Jens has mentioned, if you are going to run a trace all day,
is to be selective on filters i.e capture only relevant info and data feilds
..
In your case , you may only want to capture the Text Data column for certain
db(s).
Also, it is quicker to save the trace to a file and then import to your db
for analysis.

--
Jack Vamvas
___________________________________
Receive free SQL tips - www.ciquery.com/sqlserver.htm
___________________________________


[quoted text, click to view]

ch.adilaziz NO[at]SPAM gmail.com
6/22/2006 3:23:14 PM
Thanks Jens and Jack for your time and support.

Thanks..........

adil

[quoted text, click to view]
AddThis Social Bookmark Button