Home Forums SQL Server 2012 SQL Server 2012 - T-SQL trouble with attempt to determine growth of DB RE: trouble with attempt to determine growth of DB
Gazareth
One Orange Chip
Points: 27737
More actions
February 19, 2014 at 2:27 am
#1690179
LAG/LEAD in SQL 2012 would be the best bet I think.
http://technet.microsoft.com/en-us/library/hh231256.aspx
Otherwise, have you investigated the windowing functions?
http://technet.microsoft.com/en-us/library/ms189461.aspx