stored-procedure ::= the name of a stored procedure
procedure-parameter ::= the input parameter(s) required by the stored procedure
Within a user-defined stored procedure:
EXEC[UTE] ( string [ + string ]... )
string ::= a string, string variable, or an expression that returns a character string
Remarks
The stored procedure syntax EXEC[UTE] (string...) does not support NCHAR values for literals and variables. Values used in constructing the string are converted to CHAR values before execution.
Examples
The following example executes a procedure without parameters:
EXEC NoParms() or CALL NoParms
The following examples execute a procedure with parameters:
EXEC Parms(vParm1, vParm2)
EXECUTE CheckMax(N.Class_ID)
============
The following procedure selects the student ID from the Billing table.
CREATE PROCEDURE tmpProc(IN :vTable CHAR(25)) RETURNS (sID INTEGER) AS