Subject | Re: Fastest way to check if Firebird table exists |
---|---|
Author | Thomas Kellerer |
Post date | 2009-05-14T00:02:22Z |
--- In firebird-support@yahoogroups.com, "RB Smissaert" <bartsmissaert@...> wrote:
Should be the fastest way in my opinion
>Why not simply run your SQL statement(s) and catch any error that comes from the fact that the table does not exist. If there is an error proceed with the code that handles the case when the table does not exist.
> It is not my database, it is supplied by a third party and there are tables
> that can exist or not exist, depending on other third party apps.
> It is a bit academic really as what I got is well fast enough, but I am
> interested in any case.
>
Should be the fastest way in my opinion