Re: best practices to support multi-users

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: William \(Bill\) Vaughn (billvaRemoveThis_at_nwlink.com)
Date: 11/29/04


Date: Sun, 28 Nov 2004 19:35:59 -0800

I spend a chapter or two about multi-user issues. Pessimistic locks are one
approach, but they require a thorough understanding of the underlying
mechanism. More commonly developers tend toward optimistic locking as it's
far more scalable. Each approach requires support by the application to
resolve the collisions. I discuss techniques to avoid collisions in the
first place...

see www.betav.com for details.

-- 
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"PA" <prasad@epiance.com> wrote in message 
news:uMyk5260EHA.3840@tk2msftngp13.phx.gbl...
> Does anybody know the best practices to support multi-users. In my case I
> have a client application installed on several machines which access a sql
> server database.
> I tried the pessimistic locks. Then if somebody else tries when a data is
> being edited the application hangs and after the connection object's 
> timeout
> period it gives an error saying timeout expired. If I get a error I can 
> tell
> the user that somebody else locked the data. Is this a standard method
> everybody follows. I don't want to use any sqlserver locks or timeout
> properties.I want to solve this problem using vb
>
>
> 


Relevant Pages

  • best practices to support multi-users
    ... server database. ... I tried the pessimistic locks. ... period it gives an error saying timeout expired. ...
    (microsoft.public.vb.database.ado)
  • best practices to support multi-users
    ... server database. ... I tried the pessimistic locks. ... period it gives an error saying timeout expired. ...
    (microsoft.public.vb.database)
  • Re: best practices to support multi-users
    ... >I tried the pessimistic locks. ... >period it gives an error saying timeout expired. ... SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ... Man walks into a bookshop, picks up two books and goes to the counter. ...
    (microsoft.public.vb.database.ado)