Provide a SQL Login ALTER TRACE permission
One SQL login holder asked DBA team “Please provide me profiler access urgently“. Mentioned user using a SQL login and he wants to run profiler on a particular database of a production server. A screenshot also shared by that user.
In order to run a trace against SQL Server you must be a member of
sysadmin fixed server role or have the ALTER TRACE permission.
As the user already has ‘SQL login’ and ‘DATABASE user’ we checked and assigned that user ‘db_owner’. Then provide ‘ALTER TRACE‘ permission to the use.
-- For Windows Login
GRANT ALTER TRACE TO [DOMAIN_NAME\WINDOWS_LOGIN]
-- For SQL Login
GRANT ALTER TRACE TO [SQL_LOGIN]
2 thoughts on “Provide a SQL Login ALTER TRACE permission”
Hello! I could have sworn I’ve been to this website before but after checking through some of the post I realized it’s new to me.
Anyhow, I’m definitely glad I found it and I’ll be bookmarking and checking back
Hi, i believe that i saw you visited my web site thus i got here to go back the prefer?.I’m attempting to
to find issues to enhance my website!I suppose its
good enough to use a few of your ideas!!