开发者

What exactly do I have to do to make a concurrency exceptin happen in a stored procedure?

开发者 https://www.devze.com 2023-02-13 14:58 出处:网络
I have Store Procedures here with Transactions using. Some of them raise a Concurrency Exception. When should that happen? I sit here before a client-server app with MS SQL Server 2005.

I have Store Procedures here with Transactions using. Some of them raise a Concurrency Exception. When should that happen? I sit here before a client-server app with MS SQL Server 2005.

What I mean is, 开发者_开发技巧what exactly must a user(s) do that such an exception can occur?

Update the same datarow in a table?

What exactly?


From MSDN:

Concurrency exceptions [...] are raised when two users attempt to change the same data in a database at the same time.

0

精彩评论

暂无评论...
验证码 换一张
取 消