Startup procs have to be in the master database. They cannot be in any other DB. Bear in mind that, at the point that the startup procs run, the other databases may not have finished recovery and may not be online and available.
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