Setting up a database, need some input
Hello all..
I am putting together a database that will log the items that are at a location. I am looking to log the following:
Location
Phase
Now for the rest of these items I can have more then one at each location.
IE
Location: X
Phase: II
ComputerID
Computer Serial Number
Computer IP Address
Computer MAC Address
RouterID
Router Serial Number
Router IP Address
Router MAC Address
And so on. I will log about 4-5 different things at one location and each of those things I can have 2 or more.
I was thinking of setting it up the following way:
MainDataID (pk)
LocationID (pk)
Phase
TotalComputers
TotalRouters
ComputerID
LocationID(fk)
Etc
RouterID
LocationID(fk)
Etc
Would this be a good way of setting it up? Seems like I am missing something.
Thanks
Hello all..
I am putting together a database that will log the items that are at a location. I am looking to log the following:
Location
Phase
Now for the rest of these items I can have more then one at each location.
IE
Location: X
Phase: II
ComputerID
Computer Serial Number
Computer IP Address
Computer MAC Address
RouterID
Router Serial Number
Router IP Address
Router MAC Address
And so on. I will log about 4-5 different things at one location and each of those things I can have 2 or more.
I was thinking of setting it up the following way:
MainDataID (pk)
LocationID (pk)
Phase
TotalComputers
TotalRouters
ComputerID
LocationID(fk)
Etc
RouterID
LocationID(fk)
Etc
Would this be a good way of setting it up? Seems like I am missing something.
Thanks
Last edited: