1、在cmd命令中进入sqlplus:
相应的在DOS命令下执行:
(1)set ORACLE_SID = $INSTANCE_NAME
(2)sqlplus /nolog
(3)connect user/password as sysdba
(4)startup/shutdown
2、ORA-01113 文件需要介质恢复解决办法
conn / as sysdba
startup mount
recover datafile "/oradata/......" ;
例子:recover datafile ‘E:\APP\ADMINISTRATOR\ORADATA\ORCL
\SYSAUX01.DBF‘
alter databae open;
3、查看用户具有哪些权限的sql:
select * from user_sys_privs;
赋予用户DBA权限的sql:
grant on 用户 to public;
时间: 2024-10-24 02:58:59