想知道数据库是那种状态,要用到V$instance这个试图。。
select status from v$instance;
started -------- nomount状态
mounted --------mount状态
open --------open状态
2022-04-27 05:20:56
select status from v$instance;
started -------- nomount状态
mounted --------mount状态
open --------open状态