naga.rohitkumar (10/5/2012)
ya i too agree with u ALTER TRACEbut if we use default master the user can able to have access on all databases know
i mean it for running a profiler only to one or seleted databases
Based on that, I have to ask... Why do you want to give a "user" privs to run SQL Profiler? Unless they have the ability to create a Server Side Trace (and I personally believe that no user should have that level of privs), a user could easily cripple the server by creating a client side trace.
To wit, I believe that no user should have more than PUBLIC privs on production databases and their access should be limited to only what they can return using a stored procedure that they've been given EXECUTE privs on.
--Jeff Moden
Change is inevitable... Change for the better is not.