Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 675481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:49:21+00:00 2026-05-14T00:49:21+00:00

I’m starting to write more and more web applications for work. Many of these

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:49:22+00:00Added an answer on May 14, 2026 at 12:49 am

    This is a pretty common question and the best way to handle this is to ask yourself the following question:

    Will I ever need to reuse this data across another application?

    If the answer is yes then you should definitely design your table so that it is separate from the actual application. Let me give you an example. Assume you will be writing an application to log helpdesk tickets for your company’s employees. One thing you notice is that employees are already stored in a common database called AcmeEmployees.

    Your goal as a programmer / dba is to avoid duplication, administration, and typographical errors. So you only want to administer data at most once. It makes sense for your helpdesk application to reuse employee information that is stored in another database.

    If you write a stored procedure and you want to access this employee data you simply do:

    SELECT EmpFullName FROM AcmeEmployees.dbo.Employees

    That is databaseName.ownder.tableName. So yes design with the idea in mind that you want to reuse common data. Here are some benefits to doing this:

    • Inserts / Updates are done once and only once
    • Little to no typographical errors (if it’s done correctly once you never have to worry)
    • Any change to the source data is automatically seen across your entire domain (all applications that use this common data)
    • Reusability means less people doing clerical type work and more time to look at other issues at hand.
    • Fields such as Status can impact an application, for example, in the helpdesk system I mentioned above if an employee decides to leave the company setting that employee = inactive will ensure that employee is no longer able to log tickets in the help desk system. It is a good means to keep old data out of the new systems
    • And the best one, it just makes sense, in my workplace we have so many different applications but the nice thing is we have a set of common data tables. One of those is employees. I would hate it if we had to re-create an employee and set a first name, last name, middle initial, etc. every time we got a new employee and we had to insert that employee in each app.

    Let’s continue with our employee’s example. HR now is the master department updating or inserting employee information. I can then reuse this table to create not only my helpdesk tracking system but say a manager wanted an org chart. He / she wants some sort of organizational hierarchy listing managers and the employees that report to their managers. Well great you think, you have a common database table “Employees” which has fields such as EmployeeName, Status, ManagerID. You can then quickly build an org. chart application using this same common data:

    SELECT ManagerID as TheManager, EmployeeName
    FROM Employee
    WHERE Status='Active'
      AND ManagerID="SomeManagerID"
    

    Now you’ve got a set of employees reporting to a manager and you can build a hierarchy based on this. Well what is the point of this second example you may ask. It means that your development becomes MUCH FASTER. You stop worrying about designing another database and you reuse what is common and available to you. It speeds development!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my XML file chapters tag has more chapter tag.i need to display chapters
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
I'm interested in microtypography issues on the web. I want a tool to fix:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I want to construct a data frame in an Rcpp function, but when I
I have thousands of HTML files to process using Groovy/Java and I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.