Subject | Re: [firebird-support] Active / deactivate index in trigger |
---|---|
Author | Ann Harrison |
Post date | 2011-06-01T16:14:23Z |
On Wed, Jun 1, 2011 at 2:41 AM, Vander Clock Stephane
<svanderclock@...> wrote:
will fail because some other transaction has a reference to the index.
It would be more reliable to deactivate the index from the user process then
run the procedure, then reactivate from the client again.
Good luck,
Ann
<svanderclock@...> wrote:
>Yes, with execute statement. But the probability is that the deactivation
> is it possible inside a stored procedure to dedactivate some index, do
> the job, and reactivate the index at the end ?
will fail because some other transaction has a reference to the index.
It would be more reliable to deactivate the index from the user process then
run the procedure, then reactivate from the client again.
Good luck,
Ann