EXECUTE PROCEDURE
Executes a stored procedure
EXECUTE PROCEDURE procname
[{ <inparam-list | ( <inparam-list> ) }]
[RETURNING_VALUES { <outvar-list> | ( <outvar-list ) }]
<inparam-list> ::=
<inparam> [, <inparam> ...]
<outvar-list> ::=
<outvar> [, <outvar> ...]
<outvar> ::= [:]varname
| Argument | Description |
|---|---|
procname |
Name of the stored procedure |
inparam |
An expression evaluating to the declared data type of an input parameter |
varname |
A PSQL variable to receive the return value |
Executes an executable stored procedure, taking a list of one or more input parameters, if they are defined for the procedure, and returning a one-row set of output values, if they are defined for the procedure.