$sql.metaData.getDatabaseProductVersion

Retrieves the version number of this database product.
Syntax
    $sql.metaData.getDatabaseProductVersion{jdbcProfileName}
DocumentationRetrieves the version number of this database product.:

    Paramter:
      Requieres one parameter, this is your JDBC profile name.
    Returns:
      database version number
    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