I\'m currently trying to work out the best way to store a business\' hours of operation in a database.
For example:
Business A has the following hours of ope
It sort of depends on what you need to store it for and what the real-world data could look like.
If you need to be able to determine if the business is open at a certain point then it may be a bit awkward to query the scheme as laid out. More importantly, though, is: Would you ever need to cater for a mid-day closure?
Some options include;