Viewing 15 posts - 46 through 60 (of 106 total)
It's something I have to develop and I'm asking for another points of view.
August 29, 2018 at 7:24 am
Hi,
no, it's not possible, the room must have the exact number of persons that allows.I've got a solution, not sure if it's the best. Here is it:
August 29, 2018 at 4:29 am
Right answer is an error. Problem is the space after the comma in the function. I want my point back! 🙂
July 9, 2018 at 4:03 am
Steve, thank you for your solution!! It works fine and, regarding performance, it's also ok. That was exactly what I was looking for.
June 12, 2018 at 1:57 am
Name of guest is not important. Think in a group of 10 friends, they can be in any room, grouped as they want. The only condition is to match the...
June 11, 2018 at 12:13 pm
Here is an attached file with some sample. It's not the final solution but you can get the idea, I have a table with rooms that belong to an accommodation...
June 11, 2018 at 7:32 am
Thanks for the advice, Steve. Actually I was not trying to start a discussion and, to be honest, I was a bit surprised with his response.
I understand that I'm...
June 11, 2018 at 6:50 am
Ok, let's start from the beginning. Let's say I have a hotel with rooms. There are rooms for 2 persons, rooms for 3 persons and rooms for 5 persons. For...
June 9, 2018 at 12:38 pm
Hi Joe,
the values in the column, those comma separated, are as a result of a recursive CTE. Maybe the original CTE is wrong and I've shouldn't get those...
June 9, 2018 at 8:21 am
Much better, you're improving 😉
Thanks, John!!!!
June 7, 2018 at 4:40 am
I like your solution, John, mainly because it's more generic. However, I was expecting to have an ordered list like 2,3,5 in the reconcat column instead of ,2,2,3,3,5,5. I'm trying...
June 7, 2018 at 4:26 am
I could fix the issue, changing the font size of SSMS. Maybe not the best solution but it worked.
April 25, 2018 at 9:33 am
Viewing 15 posts - 46 through 60 (of 106 total)