Home Forums SQL Server 2008 SQL Server 2008 - General Calculate days RE: Calculate days
roryp 96873
SSCertifiable
Points: 6649
More actions
August 14, 2012 at 3:36 pm
#1525819
I think just doing the self join (the left join) on MEMBID and the row number to row number + 1 will solve the problem in the second set of sample data posted.