Lead and Lag Functions in SQL Server 2012
Arshad Ali discusses how to use CTE and the ranking function to access or query data from previous or subsequent rows. He also shows you how to leverage the LEAD and LAG analytics functions to achieve the same result without writing a self-join query using CTE and ranking function
2014-12-10
8,382 reads


When I check the length, I get these results:
A table name is limited to 128 characters. How does this work?