How to query a reservation database for room availability using Microsoft Access & SQL

How to Query a Reservation Database (by Date) for Room Availability Microsoft Access & SQL

keywords:

  • Query room availablity
  • Hotel Reservation Database
  • Microsoft Access
  • check room availablity
  • SQL
  • How to query a reservation database
  • Prevent Double booking

Studying an IT/Computing course and looking how to do a hotel database?

If you are wanting to create a simple reservations database (such as hotel database), you will need to have a query to determine which rooms can be booked for a range of days and prevent double booking…


A few years ago, for my AVCE i created such a system. Basically, its a relational database that uses forms, SQL and some visual basic.
This was created for an AVCE ICT project, but it can be adapted/modified to suite your specification (it includes the technical documentation).
The hotel reservation system was created using Microsoft Access 2002, but it also works in Microsoft Access 2000, as well as Access 2002/XP,2003, and 2007.

The SQL quey checks room availability by seeing which rooms are booked and inversing it thereby showing which rooms are available

read more on Hotel Reservation Database created in Microsoft Access (can also download a template and view a demo)

hotel reservation system database using Access

Studying an IT/Computing course and looking how to do a hotel database?

A few years ago, i created such a system. Basically, its a relational database that uses forms, SQL and some visual basic. This was created for an AVCE ICT project, but it can easily be adapted/modified to suite your specification (it includes the technical documentation).

The hotel reservation system was created using Microsoft Access 2002, but it can be opened in Access 2000, as well as Access 2002/XP,2003, and 2007. The SQL code checks room availability by queering which rooms are not booked – thus preventing double booking.

More information on the hotel reservation system

Free Hotel Reservation Database & Prevent double booking using SQL

Hotel reservation database. Uses SQL to query rooms available / room availability & prevents double booking

Background: Created in Microsoft Access this is a relational database
normalized to the third normal form. Hotel Reservation (booking)
Database system made in using some basic SQL and Visual Basic (VB). This was a project for my AVCE ICT Course (Unit 6) which I completed in 2006. For this project I achieved an A.

This hotel reservation database could be useful for anyone studying an ICT course such as

  • AVCE ICT
  • A Level, A/S Level
  • BTEC etc
  • or anyone wanting to produce a hotel reservation database.

This database is a working example of a simple hotel reservation system and was made
using Microsoft Access. A relational database and sql for some of the queries. It
can used as a Hotel Database template, and easily be modified.

Originally, this was created for my AVCE ICT Unit 6 Database
coursework and the documentation for that is included.

Some of the Hotel Reservation Database features:

  • Check for room availability for a range of days (SQL queries )
  • Create, Edit & Delete Bookings / Customer / Card Details
  • Print various reports for cleaners
  • Prevent double booking
  • Prevent rooms being booked when it is closed (if required)
  • Graphical User Interface (GUI)

The Full version consists of the database file (.mdb), the original technical documentation produced for the AVCE ICT coursework.

This database can be adapted to suit your needs,you cannot however re-distribute (free or otherwise) it without my permission! IT /ICT students Please do not hand it in as if it was your own  – it’s cheating!

why does it cost? I believe the price is reasonable to minimize advertising! the payment just  goes towards the web hosting of this site; bandwidth costs!

Download the Hotel Database

Download Demo

The Demo (free version) is just a demonstration of what the database can do. There
is no access to the design view of the database, and cannot be edited. This is in an .mde
file, and requires Microsoft Access 2003
Download hotel database demo (.zip) – 1.4MB

Download Hotel Database (Full)

Download the Full Hotel Database (.zip) – FREE! sorry, but I can’t offer any support for it as I nolonger have enough free time.

Screenshots

[flickr-gallery mode="photoset" photoset="72157608790967813"]

If you can’t see the images in the gallery above, please see: