Hi Guys,
I am doing Hotel Management System in Vb.Net_2008(Windows Application Project),SQL-Server_2008.
I have to check Room available or not with inputs of (CheckIn_Date,CheckOut_Date,Room_type,Room_Size,Floor_no)
I am using Two tables here.
1. Table Name - RoomDetails
Columns - Room_Id,Room_No,Room_type,Room_Size,Room_Rent,Floor_No
2. Table Name - BookingDetails
Columns - BookingId,CustomerId,RoomId,CheckIn_Date,CheckOut_Date,Booking_Date
Now, Using these two tables, how to write storedprocedure to get Availabily Rooms.
Giving Input - CheckIn_Date,CheckOut_Date,Room_type,Room_Size,Floor_no
Need OutPut coloums - Room_Id,Room_No,Room_Type,Room_Size,Room_Rent,Floor_no
Please Help to Get Output
Advance Thanks
By
Shajatha.