Subject Re: [firebird-support] Re: How to update table structure with SQL?
Author Doug Chamberlin
Emil Totev wrote:
> Firebird has the "CREATE OR ALTER" syntax for changes to tables that might be missing.
> You can also get information about the existing fields from the system tables and act accordingly.

As Emil has mentioned, Firebird has a way to detect whether a table
exists - just query the system tables using standard SQL. These can also
be used to detect existing fields in tables.

Going back to your original problem - wouldn't this solve it? (albeit
with a bit more work that the if exists... syntax you are used to.)