Subject | Re: [Firebird-Architect] Re: Stored Functions |
---|---|
Author | Dmitry Yemanov |
Post date | 2004-12-28T08:02:35Z |
Alexander Klenin wrote:
compatibility.
issues here? What should a procedure without SUSPEND return if invoked as a
function? Which value should procedure with two output parameters return?
First one? Error at the compile time? If is allowed to alter SP (e.g. change
output parameters) used as a function in another SP? My suggestion is more
complex from the implementation POV, but much simplier from the usage POV.
Dmitry
> Is there any advantage for "true" functions as compared "procedures asFull SQL-99 compliance. As well as some level of Oracle/DB2/ASA/etc
> functions"?
compatibility.
> It seems to me that the solution you described is both more complexDid you read the recent "procedures extention RFC" thread? Do we need more
> and less general.
issues here? What should a procedure without SUSPEND return if invoked as a
function? Which value should procedure with two output parameters return?
First one? Error at the compile time? If is allowed to alter SP (e.g. change
output parameters) used as a function in another SP? My suggestion is more
complex from the implementation POV, but much simplier from the usage POV.
Dmitry