Reply to Re: Concurrency Handling In Stored Procedures

Your name:

Reply:


Posted by Erland Sommarskog on 06/25/05 00:50

xAvailx (bjzamora@hotmail.com) writes:
> Below is the DDL, DML and a Stored Proc demonstrating the approach. I
> am using a rowversion column for concurrency checking. Another approach
> that is less intrusive (doesn't require having a rowversion column in
> all tables) is using checksum. I may eventually use checksum but the
> process flow should be almost identical.

I would advice against using checksum. The checksum functions in SQL Server
are simple XOR, and the probability that two different rows are not
detected is not negligible.

rowversion is fine.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация