Creating a Stored Procedure
The syntax for creating executable stored procedures and selectable stored procedures is the same.The difference comes in the logic of the program code, specifically the absence or presence of a [fblangref50-psql-suspend] statement.
For information about creating stored procedures, see CREATE PROCEDURE
in [fblangref50-ddl].