DEVFYI - Developer Resource - FYI

How can I determine where a given table is referenced via foreign keys?

JDBC Interview Questions and Answers


(Continued from previous question...)

How can I determine where a given table is referenced via foreign keys?

DatabaseMetaData.getExportedKeys() returns a ResultSet with data similar to that returned by DatabaseMetaData.getImportedKeys(), except that the information relates to other tables that reference the given table as a foreign key container.

(Continued on next question...)

Other Interview Questions