On Restaurant Appliation I control id the reservation day is equal to the day inserted from user ( when he want create the a new reservation)
Now the problem is another because on a day we can have many reservation for a table
sample if I have a reservation for the table 11 on the same day 13:45 of 22/008/2011
I cannot have a reservation for the same day for 14.30 or 12:45 because I must have a interval max of two hours for each customer
how I can make this control ?