Home Forums SQL Server 2008 T-SQL (SS2K8) i want update the 2nd column based on first column: RE: i want update the 2nd column based on first column:
Koen Verbeeck
SSC Guru
Points: 259085
More actions
March 21, 2013 at 4:14 am
#1599304
No chance you are using SQL Server 2012? Because this would be easy with the new lag/lead functions.
Need an answer? No, you need a questionMy blog at https://sqlkover.com.MCSE Business Intelligence - Microsoft Data Platform MVP