April 12, 2023 at 5:27 am
we do not want to use xml. so pls tell me with out it?
April 12, 2023 at 2:15 pm
we do not want to use xml. so pls tell me with out it?
At least read the latest posts. 🙁 Kaj wrote a solution for you and I tweaked it to solve an issue in it and it does exactly what you specified without XML.
And it would be really nice if you shared the reason why you need to do this so that we understand the reason for the request to more easily help others in the future.
As for you folks not wanting to use XML for this, let me throw what you said back at ya...
I agree with your point, but it is needed sometimes...
To wit, you have doomed this code to being RBAR forever. Please don't complain about the performance in the future because you already know the fix from this thread... use the XML method.
😉
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2023 at 3:23 pm
we do not want to use xml. so pls tell me with out it?
whoever decides they do not wish to use the XML PATH functionality should be fired - or pay for the upgrade cost to a newer version of SQL Server where you can use the new functionality.
the function does NOT create a XML string - so any objections to use XML are moot and just show a huge lack of knowledge of what the function does.
April 12, 2023 at 11:11 pm
@rajemessage 14195 ,
Enquiring minds want to know... did the non-XML method work for you?😋
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 16 through 18 (of 18 total)
You must be logged in to reply to this topic. Login to reply