Viewing 2 posts - 1 through 3 (of 3 total)
Posted this question elsewhere and got a great answer:
SELECT
ROW_NUMBER()OVER(ORDER BY Caseid.value('@caseid[1]', 'int')) AS RowID,
...
January 6, 2023 at 4:07 pm
Hi Jonathan AC Roberts,
Thanks for your input. Your LEAD/LAG CTE Solution was pretty much exactly what I wanted.
Thanks
January 1, 2023 at 10:19 am
Viewing 2 posts - 1 through 3 (of 3 total)
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