Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Linked server Update table error

$
0
0
We have 2 instances. One is sqlgpscluster and another is [sqlcdscluster\sqlcds]. We have created linked server between sqlgpscluster and [sqlcdscluster\sqlcds]. We run the below query on sqlgpscluster instance

UPDATE [sqlcdscluster\sqlcds].CDSBusiness.dbo.tblInsertNowAppMonitoring
SET NoCabsDateTime = GETDATE(),City=@City
,Area = dbo.fn_FindAreaSubAreaBasedOnLatLong(@PickUpLat,@PickUpLng)
WHERE CustomerMobileNo=@CustomerMobileNo

We are seeing the below error:
The OLE DB provider "SQLNCLI" for linked server "sqlcdscluster\sqlcds" could not UPDATE table "[sqlcdscluster\sqlcds].[CDSBusiness].[dbo].[tblInsertNowAppMonitoring]". The rowset was using optimistic concurrency and the value of a column has been changed after the containing row was last fetched or resynchronized.

Please help on how to resolve this error.

Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>