The DB_VERSION stored procedure returns the version information of the database.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_UTILITY.DB_VERSION (
version OUT VARCHAR2,
compatibility OUT VARCHAR2);
Parameters
| Parameter | Description |
|---|---|
| version | The string that indicates the internal software version of the database. For example, 2.3.0. The length of this string varies based on the database version. |
| compatibility | The database compatibility setting specified by the init.ora parameter. If this parameter is not specified in the init.ora file, NULL is returned. |
