PC Review


Reply
Thread Tools Rate Thread

CONCURRENCY ERROR

 
 
RAW
Guest
Posts: n/a
 
      12th Oct 2003
When I try to make an update to a sql server my aplicaction make a
concurrency error I DONT have Idea why this happen

thid some body have this problem in the past and how it resolve it



 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      13th Oct 2003
Hi RAW,
Because you did not get an answer, maybe sending a piece of code will give
some information to someone who will help you.
Cor


 
Reply With Quote
 
Slonocode
Guest
Posts: n/a
 
      1st Nov 2003
RAW wrote:
> When I try to make an update to a sql server my aplicaction make a
> concurrency error I DONT have Idea why this happen
>
> thid some body have this problem in the past and how it resolve it


I just recently ran into this problem myself.
I fixed it by changing the UPDATE command so that it only used the primary
key to find the row to update.

psuedocode:

UPDATE table_name SET value=?, value=?, value=?, .... , WHERE (primarykey=
?)





 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concurrency error Ken Foskey Microsoft C# .NET 0 11th Aug 2008 03:42 PM
Concurrency error handling John Microsoft ADO .NET 5 26th Jul 2008 11:17 AM
New concurrency error Robert Schuldenfrei Microsoft C# .NET 4 1st Sep 2004 04:01 PM
concurrency error Nathalie Goffa Microsoft ADO .NET 1 12th Dec 2003 07:52 AM
Concurrency error John Microsoft ADO .NET 3 25th Oct 2003 11:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:25 AM.