r/DatabaseHelp • • 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

4 comments sorted by

1

u/wolf2600 May 28 '15

Can you clarify the question? Provide more context and/or examples. Are you talking about creating a table which only contains a single column and each record in that table is a different time?

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.

→ More replies (1)

2

u/[deleted] May 28 '15

no. I don't know what you are doing but no.