Is there any log file for stored procedure ?

  • 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

  • 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
  • Thak you very much for your information.

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

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