I\'d like to get all foreign keys in a schema, like this. Let\'s say I have tables
users(id, username, pass, address_id)
and
addr
They are listed in the system view ALL_CONSTRAINTS
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1037.htm#i1576022
Edit
The columns involved in the constraints are listed in ALL_CONS_COLUMNS
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1035.htm#i1575870