Subject | RE: [ib-support] Child Tables Problem Revisited |
---|---|
Author | Ann W. Harrison |
Post date | 2001-11-02T20:12:10Z |
At 11:54 AM 11/2/2001 -0800, Bill Morrison wrote:
record can't be removed until the new one (or absence of one) is
committed. If there is an order to the removal (e.g. you always
delete the lowest number) you might also try:
select count(*) from sometable where pk <= :thepk into :tempvariable;
Regards,
Ann
www.ibphoenix.com
We have answers.
>Unfortunately, there is no slow period with this product, it's always goingThought so....
>full blast.
>However, it appears that in my deletion sproc doing something like :It would work better if you did a commit in between since the old
>
>delete * from sometable where pk=:thepk;
>select count(*) from sometable where pk=:thepk into :tempvariable;
record can't be removed until the new one (or absence of one) is
committed. If there is an order to the removal (e.g. you always
delete the lowest number) you might also try:
select count(*) from sometable where pk <= :thepk into :tempvariable;
Regards,
Ann
www.ibphoenix.com
We have answers.