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

  • Home
  • SEARCH
  • 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 8847877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:17:43+00:00 2026-06-14T12:17:43+00:00

I have a scenario, my application is a SAAS based app catering to multiple

  • 0

I have a scenario, my application is a SAAS based app catering to multiple clients. Data Integrity to clients is very essential.

Is it better to keep my Tables

  1. Client specific
    OR
  2. Relational Tables

For Ex: I have a mapping table with fields MapField1,MapField2. I need this kind of data for each client.

Should I have tables like MappingData_

or a Single Table with mapping to the ClientId

MappingData with Fields MapField1,MapField2,ClientId

  • 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-06-14T12:17:44+00:00Added an answer on June 14, 2026 at 12:17 pm

    I would have a separate database for each customer. (Multiple databases in a single SQL Server instance.)

    This would allow you to design it once, with a single schema.

    • No dynamically named tables compromising test & development
    • Upgrades and maintenance can be designed and tested in one DB, then rolled out to all
    • A single customer’s data can be backed-up, restored or dropped exceedingly simply
    • Bugs discovered/exploited in one DB won’t comprise the integrity of other DBs
    • Data access (read and write) can be managed using SQL Logins (No re-inventing the wheel)

    If there is a need for globally shared data, that would go in another database, with it’s own set of permissions for the different SQL Logins.

    The use of a single database, with all users in it is my next best choice. You still have a single schema. But you don’t get to partition the customers’ data, you need to manage access rights and permissions yourself, and a whole host of other additional design and testing work.

    I would never go near dynamically creating new tables for additional customers. A new table name means all your queries need to be updated with the new table name, and a whole host of other maintenance head-aches.

    I’m pretty much of the opinion that if you want to create tables dynamically during the Business As Usual use of an application/service, you’ve designed it badly.

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

Sidebar

Related Questions

Let me share the following scenario: I have a ASP.NET intranet Web-based application that
I have a scenario where I've developed a widget based application , which injects
I have some scenario in my application where i need to give multiple download
Scenario: I have a console application that needs to access a network share with
The Scenario I have a windows forms application containing a MAINFORM with a listbox
Scenario I have a Windows Forms Application. Inside the main form there is a
Scenario I have a windows forms application. I want to use two different WCF
Scenario I have a background worker in my application that runs off and does
Scenario I have a C# windows forms application that has a number of processes.
I have the following scenario.The implementation is required for a real time application. 1)I

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.