|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I'm looking for SQL statement, that give me table with four columns: two shows me table name and field name which depends on field/table by foreign key... some of this kind: FK_TABLE FK_FIELD DEP_TABLE DEP_FIELD Please, help.. Thanks |
|
#2
|
|||
|
|||
|
Have a look at RDB$CONSTRAINTS, RDB$REF_CONSTRAINTS, RDB$INDICES and RDB$INDEX_SEGMENTS.
That should give you a hint. With regards, Martijn Tonies Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL Server Upscene Productions http://www.upscene.com
__________________
Martijn Tonies Database Workbench: developer IDE for Firebird, MySQL, InterBase, MSSQL Server and Oracle Upscene Productions http://www.upscene.com |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > How to get dependecies (foreign) from database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|