Advice on setting up a central db with master tables for web apps

Posted by Dragn1821 on Stack Overflow See other posts from Stack Overflow or by Dragn1821
Published on 2010-03-16T12:27:11Z Indexed on 2010/03/16 12:36 UTC
Read the original article Hit count: 200

Filed under:
|

I'm starting to write more and more web applications for work. Many of these web applications need to store the same types of data, such as location.

I've been thinking that it may be better to create a central db and store these "master" tables there and have each applicaiton access them.

I'm not sure how to go about this.

  • Should I create tables in my application's db to copy the data from the master table and store in the app's table (for linking with other app tables using foreign keys)?

  • Should I use something like a web service to read the data from the master table instead of firing up a new db connection in my app?

  • Should I forget this idea and just store the data within my app's db?

I would like to have data such as the location central so I can go to one table and add a new location and the next time someone needs to select a location from one of the apps, the new one would be there.

I'm using ASP.NET MVC 1.0 to build the web apps and SQL 2005 as the db.

Need some advice... Thanks!

© Stack Overflow or respective owner

Related posts about database-design

Related posts about sql-server