Re: storing start/end times
Posted by: Peter Brawley
Date: April 07, 2015 04:25PM

> only 7 rows(one for each weekday)...

Looks like a design mistake.

> there may be a case where the store/s be close at a specific date

"May be"? It's virtually certain.

> ...for that, I assume the user/store owner will just use the app and the day
> to which the specific date corresponds will mark it as close.

To deliberately build in such awkwardness also looks like a design mistake.

> How a stored procedure will help here

To encapsulate the logic that builds a yearly calendar and all its specifics, eg identifying when Good Friday, Xmas and national holidays occur in a given year.

Options: ReplyQuote


Subject
Written By
Posted
Re: storing start/end times
April 07, 2015 04:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.