Home Forums Article Discussions Article Discussions by Author Discuss content posted by Sheraz Mirza Getting LEAD and LAG values manually RE: Getting LEAD and LAG values manually
Ken
SSCoach
Points: 17191
More actions
June 28, 2016 at 9:21 am
#1887353
The Lead/Lag functions were one of the main reasons we upgraded to SQL 2012. We had a process that went from running for 45 minutes daily to running in 4 minutes using LAG. 😀