Subject Stored Procedure as a Function?
Author apribek
Hi There Firebird Gurus,

Is it possible to use Stored Procedures as (UD) Functions, ie. having
declared a procedure XY is there a way to use the "select col1, XY
(col2) from foo" or similar syntax? Or any ideas to achieve this? (I
know that I could do it with a select procedure that would return the
same thing using an execute procedure in a select loop, but I am
looking for something that looks more like a selection).