Re: Record locking...

From: oj (nospam_ojngo_at_home.com)
Date: 01/24/05


Date: Mon, 24 Jan 2005 00:23:42 -0800

Here's an old archive on this type of issue:
http://tinyurl.com/5qevd

-- 
-oj
"Lia" <Lia@discussions.microsoft.com> wrote in message 
news:9A1DD01A-FA17-4785-B6F6-3869907C9DE9@microsoft.com...
> Hi Experts,
>
> Here's the scenario of the case...
>
> User1 does a retrieve of information, with the intention of updating it
> later. At the same time, User2 does a retrieve of information, with the
> intention of updating it later. User1 updates some of the row on the web
> server, and then calls an update stored procedure.Then user2 updates some 
> of
> the row on the web server, and then calls an update stored procedure.
>
> Some of user1s updates are lost because user2 had "stale" data.
>
> So what a lot of applications do is to implement explicit locking, so that
> when user1 did the retrieve, he had to say "I want to lock it cuz Im gonna
> update it later". The rule is in that case that a locked record cannot 
> also
> be locked by someone else
> and update can only be called if the record was locked by that user.
>
> We can of course add a column to every table that has to support this
> "locking", but I was wondering if  SQL Serversystems support some kind of
> "lock this record please"? 


Relevant Pages

  • Re: Serivce Pack 2 for Windows 2003 enterprise server fails
    ... MVP - Windows Server - Clustering ... 496.391: GetCatVersion: Failed to retrieve version information ...
    (microsoft.public.windows.server.clustering)
  • Re: POP3 Connector hiding mail
    ... I have tried to do the setup and to trigger the settings for the server ... the Microsoft help in troubleshooting the POP3 connector. ... to be able to retrieve emails on demand. ... messages to a mapped user mailbox. ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem installing SharePoint 2007 Enterprise
    ... SharePoint Products and Technologies Configuration Wizard ... lock to retrieve the state ... registry key from under Software\Microsoft\Shared Tools\Web Server ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Serivce Pack 2 for Windows 2003 enterprise server fails
    ... Are you kidding about the test server, we are a small college we have barely ... 496.391: GetCatVersion: Failed to retrieve version information from ... 1624.516: Message displayed to the user: Failed to install catalog files. ...
    (microsoft.public.windows.server.clustering)
  • Re: Serivce Pack 2 for Windows 2003 enterprise server fails
    ... Are you kidding about the test server, we are a small college we have barely ... 496.391: GetCatVersion: Failed to retrieve version information from ... 1624.516: Message displayed to the user: Failed to install catalog files. ...
    (microsoft.public.windows.server.clustering)