rajesh
rajesh

Reputation: 179

Getting a table's metadata without using resultset in java

Is there any way to get the meta-data of a particular table even before executing select statement.

Upvotes: 5

Views: 11951

Answers (1)

duffymo
duffymo

Reputation: 308743

DatabaseMetaData md = connection.getMetaData();

You can learn a lot about tables from this DatabaseMetaData interface.

Upvotes: 12

Related Questions