How to catch database calls without Profiler ?

  • We are not given sysadmin permissions on some server, but we need to get all database calls from a certain application, like stored procedure names along with their parameters as well as timing.

    Is it possible through some DMVs or maybe DBCCs ?

    Thanks

  • Hi,

    I think that you should be able to run Profiler if you are just given the "Alter Trace" permission.

    You do not need to be a SysAdmin.

    Hope that helps.

  • But unfortunately, we are not given APTER TRACE permissions.

  • Ask for it? Or ask the DBA to set up the traces for you. That's about the only way you're going to get what you need.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • I agree with Gail.

    I believe that in SQL Server 2000 it was necessary to be a member of the sysadmin role in order to use Profiler.

    In SQL Server 2005 onwards, to their credit Microsoft, have listened to customers' feedback and granularised the permissions required to run Profiler.

    Now it is very easy for your DBA to grant the ability for you to utilise this tool without compromising security.

  • HI,

    weher do we find this roles Alter trace is it either Database roles or server role.

    Thanks,

    Srinivas

Viewing 7 posts - 1 through 6 (of 6 total)

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