oracle中selectstatusfromv?
可以這么考慮!查詢當前實例的狀態(tài),v$instance是個視圖STATUSVARCHAR2(12)Statusoftheinstance:?STARTED-AfterSTARTUPNOMOUNT?MOUNTED-AfterSTARTUPMOUNTorALTERDATABASECLOSE?OPEN-AfterSTARTUPorALTERDATABASEOPEN?OPENMIGRATE-AfterALTERDATABASEOPEN{UPGRADE|DOWNGRADE}