We have a separate database for each of our customers. They all have the same tables and stored procedures. The problem is when we have to update a stored procedure, we would have to make sure that we update it for all the databases. Of course, one stored procedure on a database could have been overlooked and not updated.
I've looked at creating a stored procedure in the master
and prefixed it with sp_
and also set marking the object as system object using sys.sp_MS_marksystemobject
. This appears to work.... however, this article says " This solution is not recommended for live database servers, you can use it in the development and testing server to expedite your development and testing."
If that is the case, what would be the best solution for production?