Re: stored procedure doesn't update records
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Tue, 15 Nov 2005 19:45:45 -0600
>I changed my code as you suggested below, but no error was shown. In fact it
>says everything went OK.
>It's funny that the first change in the tables is done, except the second or
>subsecuents. it's like nothing would happen.
>However the next day when the stored procedure is ran from the program, the
>changes are now applied.
>Is there any cache built for the tables in SQL that is not refreshed?
>Do I have to turn off and turn on my pc to get it work? or could be a
>problem from MS SQL?
If you have one or more of the tables that your storedProcedure updates tied up
in a transaction that would keep the changes in your stored procedure from
updating until that transaction is closed.
Are you using explicit transactions in your code?
Are you doing anything stupid like having a transaction open while your
application is in the control of a user?
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: stored procedure doesn't update records
- From: Gonzalo Torres
- Re: stored procedure doesn't update records
- References:
- stored procedure doesn't update records
- From: Gonzalo Torres
- Re: stored procedure doesn't update records
- From: Brian Bushay TeamB
- Re: stored procedure doesn't update records
- From: Gonzalo Torres
- stored procedure doesn't update records
- Prev by Date: Re: Go directly to a record
- Next by Date: Re: Repair an MS Access database from Delphi app?
- Previous by thread: Re: stored procedure doesn't update records
- Next by thread: Re: stored procedure doesn't update records
- Index(es):
Relevant Pages
|