Subject | Re: ALTER PROCEDURE, RECREATE PROCEDURE or CREATE OR ALTER PROCEDURE |
---|---|
Author | Alexander V.Nevsky |
Post date | 2004-02-09T18:58:19Z |
--- In firebird-support@yahoogroups.com, Lucas Franzen <luc@r...>
wrote:
if it exists and create new. Will fail if there are dependencies and
have more chances to fail on "object in use" IMO. Have'nt at hand last
version of RN so can't surely say is it pretty clear or not ;)
Best regards,
Alexander.
wrote:
> > I read in the Release Notes of FB version 1.5 the new commandsRECREATE
> > PROCEDURE and CREATE OR ALTER PROCEDURE. What is the differencewith the
> > already existing command ALTER PROCEDURE?Luc, CREATE OR ALTER - yes. RECREATE will drop existing procedure
> >
> > Seems to do the same thing regarding to exitsing procedures.
>
> It will do an ALTER PROCEDURE if the procedure exits,
> it will do a CREATE PROCEDURE if it doesn't.
>
> I think the docs are pretty clear about that.
>
>
if it exists and create new. Will fail if there are dependencies and
have more chances to fail on "object in use" IMO. Have'nt at hand last
version of RN so can't surely say is it pretty clear or not ;)
Best regards,
Alexander.