Viewing 11 posts - 1 through 11 (of 11 total)
Ronald H (9/27/2011)
OR ClientRoom.ClientRoomNo IS NULL
for rooms that have no reservations at all. You can use any other column in ClientRoom for...
September 27, 2011 at 11:34 pm
NO it dos not have...
ROOM TABLE
PK - RoomNo
- RoomTypeNo
- RoomStatusId
CLIENTROOM TABLE
PK - ClientRoomNo
FK - RoomNo
- ArrivalDate
...
September 27, 2011 at 11:32 pm
If I include the where clause on the query, It only filters the CLIENTROOM Table,
When I dont inlcude it.. It returns all ROOMs without filters.
September 27, 2011 at 11:23 pm
I want to select all available room on a specific time..
WHERE ((ClientRoom.ArrivalDate NOT BETWEEN '2011-09-28 8:00:00' AND '2011-09-28 10:00:00') AND
(ClientRoom.DepartureDate NOT BETWEEN...
September 27, 2011 at 11:20 pm
Sean Lange (9/22/2011)
TheOxblood (9/22/2011)
SELECT * FROM Table WHERE ArrivalDate <> ... AND...
September 23, 2011 at 8:46 am
steveb. (9/22/2011)
TheOxblood (9/22/2011)
steveb. (9/22/2011)
September 22, 2011 at 9:21 am
September 22, 2011 at 9:20 am
steveb. (9/22/2011)
September 22, 2011 at 8:50 am
So, you are saying that the availability of the rooms will depend on the reservation time of the other?
SELECT * FROM Table WHERE ArrivalDate <> ... AND DepartureDate <> ...?
Yes...
September 22, 2011 at 8:45 am
Yes i am planning to merge it..
Yes it is for hotel reservation! 🙂
How can I allow per each room their status?
For example, RoomNo 10 is RESERVED at 7:00am-12:00pm
but 12:00pm onwards,...
September 22, 2011 at 8:26 am
oh! I forgot to remove the Status on the Reservation Table.. Sorry!
I need to retrieve all available rooms? do i need to create a new table?
how and what are the...
September 22, 2011 at 7:48 am
Viewing 11 posts - 1 through 11 (of 11 total)