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!

Permissions for running Performance Tools

Status
Not open for further replies.

SQLBill

MIS
Joined
May 29, 2001
Messages
7,777
Location
US
I have a user who needs to run performance tools (such as Profiler) against my MS SQL Server 2000 database. I don't want to assign the user administrative access and I don't want this user to be able to make changes to the database. Is there a way (such as a role) that I can enable this user to be able to run performance tools, without also giving administrative privileges out?

-Bill
 
You can create a role and then give the role permissions to execute the required extended system stored procedures held in the master database.

Look in BOL under the topic "System Stored Procedures (T-SQL)" and then under the category "SQL Server Profiler Extended Procedures". These are the procedures your new role will need execute permission too.

Alternatively you could just give the required user permissions to these procedures.

Rick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top