Hi,
I have a question about where to put stored procedures...
For example, we have 2 databases, DB1 and DB2. There are some stored procedures in DB1 and some stored procedures in DB2.
However, the stored procedures on both DB's reference tables on the *other* DB. That is, there are selects/updates, etc across databases.
In the interest of simplifying maintanence, etc would it be a good idea to create a separate database altogether *just* for the purpose of storing stored procedures?
(This post is a very simplified example - we actually have many databases, and many many stored procedures that cross-reference tables on various databases - as it stands now, each DB has it's own set of sp's... but we are building a new machine and were wondering there's a better way to do this).
Anyhow, hope this isn't too strange a question, but it did come up...
Thanks!!
I have a question about where to put stored procedures...
For example, we have 2 databases, DB1 and DB2. There are some stored procedures in DB1 and some stored procedures in DB2.
However, the stored procedures on both DB's reference tables on the *other* DB. That is, there are selects/updates, etc across databases.
In the interest of simplifying maintanence, etc would it be a good idea to create a separate database altogether *just* for the purpose of storing stored procedures?
(This post is a very simplified example - we actually have many databases, and many many stored procedures that cross-reference tables on various databases - as it stands now, each DB has it's own set of sp's... but we are building a new machine and were wondering there's a better way to do this).
Anyhow, hope this isn't too strange a question, but it did come up...
Thanks!!