Subject | Re: Schema query? Need help to get started. |
---|---|
Author | Adam |
Post date | 2005-06-26T06:04:37Z |
--- In firebird-support@yahoogroups.com, "Thomas Tomiczek"
<t.tomiczek@t...> wrote:
The system tables all start with RDB$. Start with RDB$RELATIONS and
work your way from there. Some of them are obvious, some of them will
require you to work out which field is a flag. All of the GUI tools
need to work from these tables, so the information is all there.
Adam
<t.tomiczek@t...> wrote:
> Hi,Hi Thomas,
>
> I am totally lost in the firebird documentation. Is there anything
> regarding schema queries?
>
> We basically need to port a generic data access layer, including
> database schema syhcnhronization, to firebird. I need to find, in a
> given database:
>
> * The tables
> * The fields in the tables
> * The indices
> * The relations
>
> There seem t obe tables for everything (except tables), but I do not
> find documentation.
>
> Can someone point me to the correct locations?
>
The system tables all start with RDB$. Start with RDB$RELATIONS and
work your way from there. Some of them are obvious, some of them will
require you to work out which field is a flag. All of the GUI tools
need to work from these tables, so the information is all there.
Adam