Subject | Re: [firebird-support] create or alter table |
---|---|
Author | Richard Mace |
Post date | 2005-12-28T22:12:30Z |
On 28/12/05, Lucas Franzen <luc@...> wrote:
I'll give it a go.
Thanks for your help
Richard
>Ah, I didn't think you could do that.
> Richard,
>
> Richard Mace schrieb:
> > Hi,
> >
> > I know that there is a way of using ddl to "create or alter" a table,
> > but it there a similar way of doing the same thing for stored
> > procedures? Or do you just use create procedure and ignore any errors?
>
> RECREATE PROCEDURE <proecure_name>
> will DROP and CREATE the procedure.
> Will fail if there are depenedencies.
>
> CREATE OR ALTER PROCEDURE <proecure_name>
> will create the procedure if it doesn't exits, otherwise will alter it.
I'll give it a go.
Thanks for your help
Richard