I am trying to update multiple rows from node js to sql server database with no unique column.
now, I am trying to update 2 records at the same time,that is one property has two different owners.
UPDATE tbl_PropertyOwnerShip SET OwnerName = 'ross' , SinceFrom = '2012-12-12' where PropertyId = '59';
UPDATE tbl_PropertyOwnerShip SET OwnerName = 'mike' , SinceFrom = '2012-12-12' where PropertyId = '59';
Can anyone help me to sequencially update rows in sql server to get desired output?