October 16, 2024 at 12:00 am
Comments posted to this topic are about the item Crazy Code I
October 16, 2024 at 7:05 am
Nice one!
With this set of original data, it's not really doing much, since all the ID-s are different, so the inner SELECT will effectively yield the original table, and the CROSS APPLY doesn't have anything to split.
October 16, 2024 at 2:42 pm
I couldn't believe it when I ran across this pattern in someone's code with the ID as a PK
October 16, 2024 at 5:14 pm
Lordy... I can't believe they didn't use a cursor or while loop, according to another article that appeared today.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy