Home Forums SQL Server 7,2000 T-SQL Compare previous field values using TSQL RE: Compare previous field values using TSQL
sumit.agrawal
SSCommitted
Points: 1616
More actions
July 21, 2010 at 4:55 am
#1196054
Did u mean like if there are 3 rows for ID=1, and we are going to insert 1 more row for the same ID, then It should return all the fields where the changes have been done in the previous rows....
If it is, then you should consider to use cursors....