The information in this article applies to:
SYMPTOMSIf the stored procedure SP_HELPSTARTUP is executed from a database other than master, SP_HELPSTARTUP will not show the list of autostart stored procedures. CAUSE
This is because the stored procedure is selecting a list of autostart
procedures by checking the appropriate value of the category field in
sysobjects, but the sysobjects table is not qualified by the master
database in the procedure text. So the sysobjects table of the current
database will be searched, resulting in no output because all the autostart
stored procedures are created only in the master database.
WORKAROUND
Execute the procedure SP_HELPSTARTUP from the master database. An
alternative is to drop and re-create the stored procedure with the
following change to its text::
where category & 16 = 16 STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.0. We are researching this problem and will post new information
here in the Microsoft Knowledge Base as it becomes available.
Additional query words: master autostart sp_helpstartup 6.0 stored procedure database
Keywords : SSrvDRI kbbug6.00 |
Last Reviewed: March 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |