getSchemas()
Syntax:
ResultSet getSchemas() throws SQLException
Description:
Retrieves the schema names available in this database. The results are ordered by TABLE_CATALOG and TABLE_SCHEM.
The schema columns are:
TABLE_SCHEM | String | schema name |
TABLE_CATALOG | String | catalog name (may be null) |
Returns:
a ResultSet
object in which each row is a schema description
Throws:
SQLException - if a database access error occurs