Stored procedures returning a result set
With some database servers it is possible to execute stored procedures
that produce a result set, and fetch the rows as normal SELECT
statements,
by using DECLARE
, OPEN
, FETCH
.
Some databases can return multiple result sets and cursor handles
declared in a stored procedure as output parameters, but Genero supports
only unique and anonymous result sets. See the examples.