Reputation: 4951
Can we get table column info without using ResultSetMetaData
object. Any other alternative?
Upvotes: 0
Views: 798
Reputation: 159215
You can get the column info of a table without running a SELECT
statement by calling Connection.getMetaData()
.getColumns(null, null, "MyTable", "%")
.
Upvotes: 1