r/DatabaseHelp • u/alius_ • May 28 '15
allocating time to entity
Is it good to separate time into entity which is skipped every 5 minutes from 7AM to 11PM which predefined rows?
Example rows:
7:00, 7:05, 7:10, ..., 22:55, 23:00
1
Upvotes
View all comments
Show parent comment
2
u/alius_ May 28 '15
Main entity is schedule with timeStart and timeEnd columns.
Also, there's 1 more entity which uses same time() values listed in topic.
I think it would be better to move time() into it's own entity for data mining/analysis.