I have some stored procedures on a firebird database. Now I want to call them with PHP.
SP have a suspend code and a return value and the SP need some input parameters.. Can someone help me...
I have some stored procedures on a firebird database. Now I want to call them with PHP.
SP have a suspend code and a return value and the SP need some input parameters.. Can someone help me...
Firebird doesn't have
CALL
syntax. How to call the SP depends on whether it is selectable (has aSUSPEND
statement in it's body) or not. To call selectable SP you useSELECT
statement:The selectable SP returns resultset which can be treated as one resulting from an "ordianary" select statement.
To call non-selectable SP you use
EXECUTE PROCEDURE
: