K
KHLan
Hi, there,
I have a simple question to ask for your advice. If a
record contains 60 field that I am interested, for
example, the machine have 60 buttons and I want to know
exactly the time and the buttons that used at 5 min
interval for all the machine (over 1000) every day, should
I design one big table to have
MachineID TimeStamp Button1 Button 2 ...60
Or to split the table into 2 or 3 smaller tables, say
Button 1 to 20 at one table, Button 21-40 at one table and
Button 41-60 at one table with Machine ID and TimeStamp
repeated
What is the pros and cons for that? If split, how can I
link the record back together? I know a "foolish?" one to
build a query to group the MachineID and TimeStamp field
and use the query to link the tables together. However,
it takes a long time for the query to run, is there other
smart way?
Thank you.
KHLan
I have a simple question to ask for your advice. If a
record contains 60 field that I am interested, for
example, the machine have 60 buttons and I want to know
exactly the time and the buttons that used at 5 min
interval for all the machine (over 1000) every day, should
I design one big table to have
MachineID TimeStamp Button1 Button 2 ...60
Or to split the table into 2 or 3 smaller tables, say
Button 1 to 20 at one table, Button 21-40 at one table and
Button 41-60 at one table with Machine ID and TimeStamp
repeated
What is the pros and cons for that? If split, how can I
link the record back together? I know a "foolish?" one to
build a query to group the MachineID and TimeStamp field
and use the query to link the tables together. However,
it takes a long time for the query to run, is there other
smart way?
Thank you.
KHLan