Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to 'view' the commands a user is running.

Status
Not open for further replies.

SQLBill

MIS
Joined
May 29, 2001
Messages
7,777
Location
US
I am using SQL SERVER 2000 Enterprise Edition......

I need to be able to see and save the commands a user is running. DBCC INDEXBUFFER(<spid>) will only give me the last TSQL command the user ran. Is it possible to run a command/script to see all of the commands a user runs??

-Bill
 
Set up a trace using the sql profiler.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top