Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: The key specified in an Update or Retrieve no longer matches an existing row.

$
0
0

I wonder if the Update Key Clause is set to "Use Delete then Insert" for the Datawindow.

If you have two rows with the same primary key, one row may have been deleted and goes into the delete buffer.

The other row might only have a modified key so that this will cause a delete and then an Insert - no second row in the delete buffer.

 

The Update() will then produce two DELETE and one INSERT statement.

 

Food for thought?

 

Arnd


Viewing all articles
Browse latest Browse all 9091

Trending Articles



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