SQL Profiler

  • Is there a way to give this to developers so they can preform sql profiler traces....without actually having puttint them as sysadm SA rights.

    Thanks

  • You need to give them the developer edition it is under $50 online because Profiler uses a lot of memory so it is best run on the developer and test boxes and not production.

    Kind regards,
    Gift Peddie

  • I'm pretty sure that you cannot give your developers the ability to use profiler without also giving them SysAdmin rights.

  • Enterprise version is what we have and this is for development.

    Too bad on the profiler....

  • Code must be profiled so if this is development server you either do the job or ask for developer edition from IT for the developers because even in software engineering companies developers are DBO in development server with developer edition on their desk top.

    Kind regards,
    Gift Peddie

  • You need to give them Alter Trace permissions

    GRANT ALTER TRACE TO

  • I stand corrected - thank you SA.

    On SQL Server 2000 you needed to be a SysAdmin to run profiler, but this is no longer the case on 2005 & 2008.

    I learn something new every day!

  • Grant trace to user

    How to do this in GUI i just need to see the little tick too

    Oh it in the securables....for the login.

    Cheers that great.

    They did ask to be an owner for master too - not sure why i just gave data reader. Any got any clue why they want to be an owner?

  • GRANT ALTER TRACE TO [MyDomain\User1];

    You could just run the above in management studio.

    Kind regards,
    Gift Peddie

  • Is there a command i can run to see the permissions he has.

    When you go back into studio and look at secruables it blank so you can't see if unless you do add...then back to all objects server they then appear in the box and it is ticket...long winded.

    Cheers

  • You will need some sort of entitlement scripts for pulling out all those permissions.

  • I will work on that script. Thanks for the advice on profiler that made my day.

    Activity Monitor - Don't suppose you know if there a way just for this either 🙂 Developers want this too but i can't because don't know how without giving sa rights.

    Cheers.............

  • If I understand you what you are looking is covered by Microsoft below.

    http://msdn.microsoft.com/en-us/library/ms186717.aspx

    http://msdn.microsoft.com/en-us/library/ms187611.aspx

    Kind regards,
    Gift Peddie

  • You need to grant View Server State for Activity Monitor.

  • Thanks everyone.

Viewing 15 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic. Login to reply