Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating Multiple Databases Same Time

Status
Not open for further replies.

jalbao

Programmer
Nov 27, 2000
413
US
I have an app that requires that each customer have thier own database. Each database will contain the same tables/fields etc. When I create a database for a customer, it will be duplicating the 'Model Database'.

My question is, if i need to make changes to the 'Model Database', how can I make the same changes to each of the databases that were created BEFORE I made the change to the Model, without having to manually change each existing database.

TIA
 
Create a script to perform the database change and run it on each of the databases before running it on the Model database.

hope this helps,

Chris Dukes
 
thanks for the response chris -

are you implying that i will have to do two separate updates - one for the customer databases and one for the model database..
 
Unfortunatly, Yes as far as I know.

You could have a look at replication, but that is a whole new ball game.

Chris Dukes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top