Availability calendar stack

Hi, Thanks very much! I think this is the way to go. Never done an SQL database before but always good to have a new challenge. Thanks again!