September 7, 2022 at 7:17 pm
Room names are a human manifestation. There's absolutely no reason why they cannot have a room number. Hotels have also been know to change room names. If you have a room number for the given space, history can continue without interruption.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2022 at 1:06 pm
I hope none of are proposing using the meeting room name as a primary key on the rooms table. They are always subject to change....
Doubt you will find many meeting rooms called Michael Jackson, Jimmy Saville or Gary Glitter. My daugters school has just renamed most of it's houses because the old names have links to the slave trade....
September 12, 2022 at 8:04 pm
You likely should encode the room name for internal use -- I'd probably call it "room_code" -- but you'll need at least a smallint, and I'd probably just "byte" the bullet and use an int, to be safe in the future. Since you would never want to reuse a previous room code, a major remodeling might use up a bunch of codes.
The customers should never see the room_code. They should only see the "room number", which could be a name ("Lincoln", "Sunshine", etc.) or a number (904 (floor 9, room 4), 105, etc.). That part follows what most hotels do, I believe.
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
Viewing 3 posts - 31 through 33 (of 33 total)
You must be logged in to reply to this topic. Login to reply