$sql.metaData.getCatalogs

Retrieves the catalog names available in this database.
Syntax
    $sql.metaData.getCatalogs{jdbcProfileName}
DocumentationRetrieves the catalog names available in this database. The results are ordered by catalog name.

The catalog column is:

TABLE_CAT String => catalog name:

    Paramter:
      Requieres one parameter, this is your JDBC profile 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
Examples
GroupSQL
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1