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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:57:02+00:00 2026-05-31T01:57:02+00:00

I need a table to hold downtime, basically a downtime event contains the following

  • 0

I need a table to hold downtime, basically a downtime event contains the following info:
EVENT_ID, START_TIME, END_TIME, SERVICES, CAUSES

The main issue is that I don’t know how to set this up because I don’t want to end up with a mess like this:

ID  |  EVENT_ID  |  START_TIME  |  END_TIME  | SERVICES  |  CAUSES
01          455       12:00          12:30      FINANCE     NETWORK
02          455       12:00          12:30      ADVANCE     NETWORK
...
13          455       12:00          12:30      REFRESH     DATABASE

Basically…for a single outage, I would have many many entries in the table, since if there are multiple services/causes, the table would in effect hold all combinations.

Is there a more efficient way of organizing this?

  • 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-31T01:57:03+00:00Added an answer on May 31, 2026 at 1:57 am

    yes – normalize a little:

    EVENT
    ------
    event_id
    start_tm
    end_tm
    description
    
    EVENT_SERVICE
    -------------
    event_id
    service_id
    employee_id 
    start_tm
    end_tm
    (other info as needed)
    
    SERVICE
    ---------
    service_id
    description
    
    CAUSE
    -------
    cause_id
    description
    
    EVENT_CAUSE
    -----------
    event_id
    cause_id
    

    edited to reflect ypercubes comment with a separate SERVICE table

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

Sidebar

Related Questions

Here is my predicament. Basically, I need a column in a table to hold
I know that table sources need a data source to hold the data that
The title is pretty self explanatory, but basically I need the table row to
I have a new table that hold old passwords, I need to check if
This one really has me stumped. I have a documents table which hold info
I need to make a table to hold data on the order of games
I'm creating a table to hold items from rss feeds and I need to
I need table with editable cells for my Android app. Something like QTableWidget in
I need a table that stores key-value pairs, so I created one with a
I need a table where rows are actually 2 rows tables, a nested table

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.