Subject | Re: dropping a database, but only if it already exists |
---|---|
Author | Adam |
Post date | 2005-08-28T07:50:34Z |
--- In firebird-support@yahoogroups.com, Richard <RichardM@m...> wrote:
exception, just ignore it. The goal is to have the database not there
after you execute the drop, so if it is not there anyway, you haven't
lost anything.
Adam
> Hi,but
> What would be the best syntax to use if I wanted to drop a database,
> only if it already existed?Why not just drop it anyway? Who cares if you get a does not exist
>
> Thanks
> --
> Richard Mace
exception, just ignore it. The goal is to have the database not there
after you execute the drop, so if it is not there anyway, you haven't
lost anything.
Adam