DEVFYI - Developer Resource - FYI

How can I get information about foreign keys used in a table?

JDBC Interview Questions and Answers


(Continued from previous question...)

How can I get information about foreign keys used in a table?

DatabaseMetaData.getImportedKeys() returns a ResultSet with data about foreign key columns, tables, sequence and update and delete rules.

(Continued on next question...)

Other Interview Questions