Subject | Re: [firebird-support] SP Commit |
---|---|
Author | Lucas Franzen |
Post date | 2004-08-25T07:43:07Z |
Muthu,
[Big snip]
SUSPEND).
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.
[Big snip]
> UPDATE DENOMINATION SET BILLCOUNT = :HUNDRED, FLAG=:FLAG[another snip]
> WHERE BILLTYPE = 'OBHUNDRED';
> SUSPEND;
> END
>You must not execute a procedure that's a selectable one (working with
> EXECUTE PROCEDURE GETDENOMINATIONTOTAL
> RETURNING_VALUES
> (:OPENINGBALANCE,:CASHIN,:CASHOUT,:CLOSINGBALANCE);
SUSPEND).
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.