Automatic Execution of Procedures

  • Good Afternoon All:

    Does anyone know how to tell if a stored procedure has been set to automatic execution at startup?  I executed the sp_procoption to set the proc, but want to verify that it is indeed set to autoexecute on SQL 2005.

    Thanks!

  • if you have a version of 2005 running on a machine other than production, why not create an sp that has the

    exec sp_procoption N'procname', N'startup', N'true'

    GO

    set and have the sp send an email or insert into a table, when you restart the sql service you will know if it works on 2005

  • Query master.sys.procedures and examine the is_auto_executed (bit) value.

     

    Terry

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

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