Re: help in database updations.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Andrew John (aj_at_DELETEmistrose.com)
Date: 05/07/04


Date: Fri, 7 May 2004 17:44:08 +1000

SPG,

Agree - post your code if you want help with it.

Some comments in line:

"SPG" <not@noreply.com> wrote in message news:e8QgnC$MEHA.1392@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> Let me first explain what I am trying to do. I have a web app, where from my
> asp page, i call a stored procedure.
>
> Now this page is used by N users concurrently. This SP updates a table,
> updates a second table with first as ref,
>
> and clear first table. in between there is a delay of few seconds, which i
> have explicitly put( waitfor delay command)

Are ye mad ! A waitfor delay command has no place there. The cure is FAR worse
than the disease.

>
>
> but teh problem appears when some users at the same time use this page, and
> update table, then the records by only one user are present in the table,
> the same for all teh other users are found missing later.
>

Need to read up on concurrency and record locking.

> why are the updations made by the other users not updated in the second
> table?
>
> what am I missing here?
>
> TIA.
>
>



Relevant Pages

  • Re: help in database updations.
    ... This SP updates a table, ... A waitfor delay command has no place there. ... > the same for all teh other users are found missing later. ... Need to read up on concurrency and record locking. ...
    (microsoft.public.inetserver.asp.general)
  • Re: help in database updations.
    ... This SP updates a table, ... A waitfor delay command has no place there. ... > the same for all teh other users are found missing later. ... Need to read up on concurrency and record locking. ...
    (microsoft.public.sqlserver.programming)
  • Re: help in database updations.
    ... This SP updates a table, ... >> have explicitly put(waitfor delay command) ... >> but teh problem appears when some users at the same time use this page, ... >> the same for all teh other users are found missing later. ...
    (microsoft.public.sqlserver.programming)
  • Re: help in database updations.
    ... This SP updates a table, ... >> have explicitly put(waitfor delay command) ... >> but teh problem appears when some users at the same time use this page, ... >> the same for all teh other users are found missing later. ...
    (microsoft.public.sqlserver.setup)
  • Re: help in database updations.
    ... This SP updates a table, ... >> have explicitly put(waitfor delay command) ... >> but teh problem appears when some users at the same time use this page, ... >> the same for all teh other users are found missing later. ...
    (microsoft.public.inetserver.asp.general)