In starting with SQL Server 2005 and above a SQL Server user or login does not need to have SYSADMIN privileges to use the SQL Server Profiler.
It can be accomplished by,
GRANT ALTER TRACE to [Login] |
BOL explanation:
By default, running SQL Server Profiler requires the same user permissions as the Transact-SQL stored procedures that are used to create traces. To run SQL Server Profiler, users must be granted the ALTER TRACE permission
References: Permissions Required to Run SQL Server Profiler
No comments:
Post a Comment