Subject | Re: [Firebird-Architect] Legacy Behavior |
---|---|
Author | Helen Borrie |
Post date | 2004-12-22T23:17:45Z |
At 10:48 AM 22/12/2004 -0500, you wrote:
days, is probably still being recommended in some form with generic
interfaces like ADO and JDBC and is still rife in legacy code):
CREATE PROCEDURE GET_PK (AINPUT SMALLINT)
RETURNS (X INT)
AS BEGIN
X = GEN_ID(AGENERATOR, :AINPUT);
SUSPEND;
END
It is used indiscriminately AC/DC.
Helen
> >"Geoff Worboys" <geoff@...> wrote:Jim wrote:
> >
> >
> >Now we have:
> >
> >CREATE PROCEDURE P RETURNS (X INT)
> >BEGIN
> > X = 0;
> > SUSPEND;
> >END
> >
> >And by design it has two compatible execution methods. And we must preserve
> >it, not because it's a legacy stuff, but because it's a useful feature,
> >IMHO.
> >
>I don't particularly care about this case, but it raises a questionOne example is this (commonly recommended to BDE users in those bad old
>worth discussing, which is what legacy behaviors should be preserved?
days, is probably still being recommended in some form with generic
interfaces like ADO and JDBC and is still rife in legacy code):
CREATE PROCEDURE GET_PK (AINPUT SMALLINT)
RETURNS (X INT)
AS BEGIN
X = GEN_ID(AGENERATOR, :AINPUT);
SUSPEND;
END
It is used indiscriminately AC/DC.
Helen