Re: storing start/end times
Posted by: Dimitris Papageorgiou
Date: April 07, 2015 10:02AM

I want to add this...as I said some days the stores will be closed.
I do not know how to store this in the database-in what way.

Now,there are two fields....open_time and close_time in the stores_open table.
These are of the TIME data type.

I have set the above fields with a default value of NULL for the day that is closed.
That means no time must be stored,in these two fields in such a case.

And here is my problem....when I go to insert in the stores_open table without providing open-close time...what happens is that automatically the fields are populated with the current time/time of insertion.

I just want NULL there...

Options: ReplyQuote


Subject
Written By
Posted
Re: storing start/end times
April 07, 2015 10:02AM


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.