Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.
WITH CTE AS ( SELECT *, ROW_NUMBER() OVER(ORDER BY pid, MDATE ) Serial FROM #table ) SELECT x.*, CASE WHEN y.pid IS NOT NULL THEN 'FLAG' ELSE '' END FLAG FROM CTE x LEFT JOIN ( SELECT a.* FROM CTE a LEFT JOIN CTE b ON a.Serial - 1 = b.Serial AND a.pid = b.pid WHERE b.MHEIGHT > a.MHEIGHT ) y ON x.pid = y.pid AND x.MDATE = y.MDATE
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.