Subject | Re: [firebird-support] Determining the dependencies of data in a Firebird database |
---|---|
Author | Ann W. Harrison |
Post date | 2005-04-21T16:57Z |
Peter Ypenburg wrote:
The information is stored in the system tables and you may need to
look at several. RDB$DEPENDENCIES may be enough. If not, try combining
that with RDB$RELATION_CONSTRAINTS, RDB$CHECK_CONSTRAINTS, and
RDB$CHECK_CONSTRAINTS. Browsing through those tables should give you
enough hints to start...
Regards,
Ann
> Hi All,Well, the engine has code for that purpose... not SQL yet, but similar.
>
> Has anybody written a SQL that will bring back the dependencies of data in
> the tables structure in a database.
>
The information is stored in the system tables and you may need to
look at several. RDB$DEPENDENCIES may be enough. If not, try combining
that with RDB$RELATION_CONSTRAINTS, RDB$CHECK_CONSTRAINTS, and
RDB$CHECK_CONSTRAINTS. Browsing through those tables should give you
enough hints to start...
Regards,
Ann