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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:30:12+00:00 2026-05-13T00:30:12+00:00

I am putting together a schema for a database. The goal of the database

  • 0

I am putting together a schema for a database. The goal of the database is to track applications in our department. I have a repeated problem that I am trying to solve.

For example, I have an “Applications” table. I want to keep track if any application uses a database or a bug tracking system so right now I have fields in the Applications table called

Table: Applications
UsesDatabase (bit)
Database_ID (int)
UsesBugTracking (bit)
BugTracking_ID (int)

Table: Databases:
id
name

Table: BugTracking:
id
name

Should I consolidate the “uses” column with the respective ID columns so there is only one bug tracking column and only one database column in the applications table?

Any best practice here for database design?


NOTE: I would like to run reports like “Percent of Application that use bug tracking” (although I guess either approach could generate this data.)

  • 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-13T00:30:12+00:00Added an answer on May 13, 2026 at 12:30 am

    You could remove the “uses” fields and make the id columns nullable, and let a null value mean that it doesn’t use the feature. This is a common way of representing a missing value.

    Edit:
    To answer your note, you can easily get that statistics like this:

    select
      count(*) as TotalApplications,
      count(Database_ID) as UsesDatabase,
      count(BugTracking_ID) as UsesBugTracking
    from
      Applications
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm putting together a system to track customer orders. Each order will have three
I am putting together some ideas for our automated testing platform and have been
I'm putting together a small web app that writes to a database (Perl CGI
I'm putting together an xml schema for a simple xml (see bellow for both
I putting together a page that will display a set of stored values. I
I am putting together a fairly simple web app that uses user inputted data
I am putting together a technical analysis library that I hope others may use
I'm putting together a simple web page that presents the user with a jQuery
I'm putting together a basic photoalbum on appengine using python 27. I have written
I'm currently putting together (on old fashioned paper) a layout for my new database,

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.