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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:39:09+00:00 2026-05-28T20:39:09+00:00

Scenario. I have a library shelf, library, user, application tables in the database. One

  • 0

Scenario.

I have a library shelf, library, user, application tables in the database. One library shelf can have many library files. I want to associate the files to users under each application. I can have users under one application access library files using a UserXLibraryShelf table. Lets say rather than saying what shelves are available for the users, i want to say which shelves will not be available. Most times users will have access to all the shelves except say for applications 3 and 5. I can do this probably by having a UserXNotAvailableShelf. but then this works like a look up table and i have to say bring all the shelves that do not exist in the NotAvailable table for this user.

What is the best practice for handling exception scenarios (exclude rather than include) in the database design.

  • 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-28T20:39:11+00:00Added an answer on May 28, 2026 at 8:39 pm

    It is a perfectly acceptable design choice to have (base) tables for both ‘available’ and ‘unavailable’, ensuring that every shelf/user correspondence goes into exactly one of those tables. However, there may be practical problems of such a design in an update-intensive environment. p.s. have you considered creating groups of users then corresponding shelvers with these groups?

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

Sidebar

Related Questions

Common scenario: I have a library that uses other libraries. For example, a math
My Scenario I have a class library that is going to be called from
Scenario I have two wrappers around Microsoft Office, one for 2003 and one for
Scenario: I have a console application that needs to access a network share with
I am developing a java application. I have scenario to take screen shot of
I have a Class library application in which I'm trying to use SSL connection.
I have scenario where thread updates form's control. I followed http://msdn.microsoft.com/en-us/library/ms171728.aspx to make it
I have some projects: WebShared (Java Library project) WebExternal (GWT Web Application) WebInternal (GWT
Scenario I have a Library that contains Projects A, B, and C. I have
I need to have library that can be used as memcache with my codeigniter.

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.