Is there any log file for stored procedure ?

  • running_man_2016

    SSC Veteran

    Points: 246

    Good day.

    I would like to know if all procedures in DB are used or not respectively.

    Is there any log files which contains procedure name and process time or how to get such kind of infomration

    from SQL server ?

    Thank you in advance 🙂

    * SQL server 2000

    * Windows 20003 Server

  • Gail Shaw

    SSC Guru

    Points: 1004446

    No.

    If you want something like that, you'll have to either set up a trace that logs stored procedure execution, or add code to each stored proc that logs its execution to a table.

    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
  • running_man_2016

    SSC Veteran

    Points: 246

    Thak you very much for your information.

Viewing 3 posts - 1 through 3 (of 3 total)

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