« Return to Thread: Obtaining info on UNIQUE constratints.

Obtaining info on UNIQUE constratints.

by Tim Dudgeon :: Rate this Message:

Reply to Author | View in Thread

How do you find out which UNIQUE constraints exist for a table, and
which columns they use?
DatabaseMetaData.getIndexInfo( ... ) can give me the information about
the indexes, but it seems that in Derby a UNIQUE index is not the same
thing as a UNIQUE constraint.

Thanks

Tim

 « Return to Thread: Obtaining info on UNIQUE constratints.