The CURRENT_INSTANCE function returns the ID of the currently connected instance. When the connected instance is stopped, NULL is returned.
Syntax
DBMS_UTILITY.CURRENT_INSTANCE
RETURN NUMBER;
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era Join the Event ->
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI. Explore ->
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era
OceanBase Hours · Aug 18 — Explore what’s next for databases in the AI era Join the Event ->
OceanBase Database
Download PDF
The CURRENT_INSTANCE function returns the ID of the currently connected instance. When the connected instance is stopped, NULL is returned.
DBMS_UTILITY.CURRENT_INSTANCE
RETURN NUMBER;