getCatalogs()

Syntax:

ResultSet getCatalogs()
                      throws SQLException

Description:

Retrieves the catalog names available in this database. The results are ordered by catalog name.

The catalog column is:

TABLE_CAT String catalog name

Returns:

a ResultSet object in which each row has a single String column that is a catalog name

Throws:

SQLException - if a database access error occurs or the database metadata object is closed