首页 > 代码库 > SQL*Plus

SQL*Plus

 

 

 
连接数据库实例
SQLPLUS username[/password][@connect_identifier] [AS SYSOPER|SYSDBA]
 
--
sqlplus system/1234@orcl as sysdba;

 

启动数据库实例
STARTUP [nomount|mount|open|force] [resetrict] [pfile=filename]
 
-- 
startup

 

关闭数据库实例
SHUTDOWN [normal|transactional|immediate|abort]
 
-- 
shutdown

 

 

SQL*Plus