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 7097939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T10:59:46+00:00 2026-05-28T10:59:46+00:00

Unfortunately, the term schema has come to take on different definitions for different databases.

  • 0

Unfortunately, the term “schema” has come to take on different definitions for different databases. We’re using SQL Server 2008 R2, and with that in mind, I have a better understanding thanks to some other questions here with people asking similar questions. However, before I begin making the database, I want to be sure I have this right for my specific scenario.

Basically it’s a database for various departments of the company. For example, Administration will manage employees with a bunch of tables related to employee management. Marketing will have a lot of marketing related tables. And tech support will have a lot of tech support related tables. These “groups” will probably never interact with one another, but they’re all part of the same project, so I’m putting them all in one database, rather than three separate databases.

Am I correct in understanding that this means I would want three different schemas? So that for Administration, for example, the tables would be named:

Administration.Employees
Administration.VacationDays
Administration.EmployeeAddresses
etc.

and then for tech support, for example:

Techsupport.Clients
Techsupport.OpenIssues
Techsupport.ClosedIssues
etc.

And then am I correct in understanding that the PURPOSE of this, instead of just having every table in the dbo schema, is for A) organization purposes, and B) permission purposes (users with Techsupport schema access shouldn’t be able to access the Administration schema, for instance). The idea I’ve come to in my head is that schemas in the SQL Server definition is that a schema is just like a virtual folder that groups related tables together.

I think this is right, after all the similar questions that I’ve read, but I just really want to be sure I’m on the right path before I get too far in and realize I’m doing it completely wrong.

Is throwing everything into the dbo schema and calling a day discouraged / not intended? Should you use a schema, even for small databases that don’t necessarily need multiple schemas?

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-28T10:59:47+00:00Added an answer on May 28, 2026 at 10:59 am

    Schemas support two primary purposes:

    • security container. Permissions can be granted on schemas and such permissions apply to all objects in the schema. Eg. GRANT SELECT ON SCHEMA::Administration TO [foo\bar]; grants the SELECT permission to any table in the schema, including future added tables.

    • namespace. You can deploy your application in the schema [CptSupermarkt] and know that your app has a very low probability of a name conflict with other applications.

    The prevalent use is the first one because most apps are not concerned with side-by-side deployment with other applications and usually assume ownership of an entire database (if not an entire instance). However there are types of applications (eg. audit tools and monitoring apps) that use the namespace aspect of schemas (or, at least, most should use it…).

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

Sidebar

Related Questions

I have a custom taxonomy that needs a different colour applied to each term
I have a SQL query that returns a number of results (unfortunately, the number
Unfortunately we are using the Advantage Database Server Torture Edition Version 8.1. After I
Unfortunately, I need to do this. I'm using ELMAH for my error log. Before
Unfortunately, the problem is not more specific than that. I've found a few examples
Unfortunately I have to use Windows Server 2003 on my 32 bit workstation due
I have code that looks like this: public class Polynomial { List<Term> term =
We have built a large database model (SQL Server) for our client and an
Forgive me for probably using the wrong term for this application mode. Our application
The only thing that I miss about using other editors is finding my place

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.