Distributed Stored Procedures

From: Kofi (kofi_at_ibeaminc.com)
Date: 02/26/04


Date: 26 Feb 2004 08:00:26 -0800

I have an SQL Server that has a structure as follows.
1. There is a common database that contains hundreds of stored
procedures.
2. There are also 50+ identical databases, with the same number of
tables and table structures.
3. The common stored procedures must be able to read/write data to any
of these 50+ databases. How can this be done? I can pass the database
names as a parameter in the stored procedures but that means changing
hundreds of stored procedures and over 500K lines of application code.
Is there a way I can let the stored procedures read/write to these
databases without doing all of this?

Any help will be really appreciated



Relevant Pages

  • Distributed Stored Procedures
    ... I have an SQL Server that has a structure as follows. ... There is a common database that contains hundreds of stored ... of these 50+ databases. ... Is there a way I can let the stored procedures read/write to these ...
    (microsoft.public.sqlserver.server)
  • Distributed Stored Procedures
    ... I have an SQL Server that has a structure as follows. ... There is a common database that contains hundreds of stored ... of these 50+ databases. ... Is there a way I can let the stored procedures read/write to these ...
    (microsoft.public.sqlserver)
  • Re: why>?
    ... On your desktop-- you'll be running SQL Server behind the scenes. ... it isn't risky to allow end users to create databases. ... it is no more risky than giving you the ability to create spreadsheets. ... I'm not saying that Oracle and IBM are going away. ...
    (microsoft.public.excel)
  • Re: Please answer my queries for fresh Installation
    ... Moving SQL Server Databases ... Using WITH MOVE in a Restore to a New Location with Detach/Attach ... Disaster Recovery Articles for SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: Please answer my queries for fresh Installation
    ... You can restore MSDB as well as master. ... > SQL Server, It will create Master, MSDB databases. ...
    (microsoft.public.sqlserver.server)