DatabaseMetaData.getSchemas

DatabaseMetaData.getSchemas

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract ResultSet getSchemas() throws SQLException
Returns
ResultSet - each row has a single String column that is a schema name
Description
Get the schema names available in this database. The results are ordered by schema name.

The schema column is:

  1. TABLE_SCHEM String => schema name

Exceptions
SQLException if a database-access error occurs.