Subject | Re: External procedures: call for discussion |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-04-04T09:54:40Z |
Hi,
look like (and as far as I know SQL standard is not available for
free) and cannot cover this issue in the paper. Do you have some
paper/link where I can read more?
Roman
> Compatibility is a problem. First of all, lots of people use SUSPENDOk, point taken. I will remove this requirement from the paper.
> at the end of executable procedures just to be safe (unfortunately,
> I still see such advices in some support forums). Secondly, some
> people (me included) use such tricks to emulate stored functions -
> adding SUSPEND to a singleton procedure allows it to be executed
> either via EXECUTE inside PSQL, or via SELECT inside some query.
> Something like GET_CURRENT_SESSION is an obvious example - it can be
> used in the WHERE clause and/or select list as well as somewhere
> inside PSQL (without need to SELECT from this procedure there).
> FWIW, we have a standard. If we're going to follow it, an ability toOk. Unfortunately I have no idea about how stored functions should
> have both real stored functions and procedures that can be called as
> functions looks very confusing to me. Even if this is easier to
> implement.
look like (and as far as I know SQL standard is not available for
free) and cannot cover this issue in the paper. Do you have some
paper/link where I can read more?
Roman