Subject | Re: SP Commit |
---|---|
Author | Muthu Annamalai |
Post date | 2004-08-25T12:57:06Z |
--- In firebird-support@yahoogroups.com, Lucas Franzen <luc@r...>
wrote:
firebird group is lucky to have people like Luc.
Keep up your work.
Muthu
wrote:
> Muthu,with
>
>
> [Big snip]
>
> > UPDATE DENOMINATION SET BILLCOUNT = :HUNDRED, FLAG=:FLAG
> > WHERE BILLTYPE = 'OBHUNDRED';
> > SUSPEND;
> > END
>
> [another snip]
>
> >
> > EXECUTE PROCEDURE GETDENOMINATIONTOTAL
> > RETURNING_VALUES
> > (:OPENINGBALANCE,:CASHIN,:CASHOUT,:CLOSINGBALANCE);
>
> You must not execute a procedure that's a selectable one (working
> SUSPEND).Thanks Luc,it worked.
> If this is the case you have to SELECT from that procedure.
>
> SELECT * [OR OUTPUTFIELDS] FROM GETDENOMINATIONTOTAL
> INTO :OPENINGBALANCE,:CASHIN,:CASHOUT,:CLOSINGBALANCE;
>
> is the way to go.
>
> Luc.
firebird group is lucky to have people like Luc.
Keep up your work.
Muthu