DatabaseMetaData.getCatalogs
Interface Overview | Interface Members |
This Package |
All Packages
public abstract ResultSet getCatalogs() throws SQLException
Returns
ResultSet - each row has a single String column that is a
catalog name
Description
Get the catalog names available in this database. The results
are ordered by catalog name.
The catalog column is:
- TABLE_CAT String => catalog name
Exceptions
SQLException
if a database-access error occurs.