For a given table 'foo', I need a query to generate a set of tables that have foreign keys that point to foo. I'm using Oracle 10G.
Sql – Query a Table’s Foreign Key relationships
databaseoracleoracle10gsql
Related Question
- SQL Server 2000 – Query a Table’s Foreign Key relationships
- Php – How to do ‘insert if not exists’ in MySQL
- Sql – Finding duplicate values in a SQL table
- Sql – Select first row in each GROUP BY group
- Sql – What are the options for storing hierarchical data in a relational database
- Sql – Can a foreign key be NULL and/or duplicate
- MySQL Cannot Add Foreign Key Constraint
- Sql – Reset identity seed after deleting records in SQL Server
Best Solution
This should work (or something close):