Combining database tables
Posted
by zSysop
on Stack Overflow
See other posts from Stack Overflow
or by zSysop
Published on 2010-05-12T15:56:52Z
Indexed on
2010/05/12
16:04 UTC
Read the original article
Hit count: 214
Hi all,
I have two tables which look kind of similar and i was thinking about combining them and thought i would get some input from everyone. Here's what they currently look like:
Issues
Id | IssueCategory | IssueType | Status | etc..
-------------------------------------------------
123 | Copier | Broken | Open |
124 | Hardware | Missing | Open |
CopierIssueDetails
Id | IssueId | SerialNumber | Make | Model | TonerNumber | LastCount
---------------------------------------------------------------------
1 | 123 | W12134 | Dell | X1234 | 12344555 | 500120
HardwareTicketDetails
Id | IssueId | EquipmentNumber | Make | Model | Location | Toner | Monitor | Mouse
-----------------------------------------------------------------------------------
1 | 124 | X1123113 | Dell | XXXX | 1st floor | 0 | 1 | 0
What do you guys think about combining these two tables into one. Would it be a good idea or is it better to keep them separated like this? Thanks in advance for any suggestions.
© Stack Overflow or respective owner