oracle_startup.bat脚本如下:
set oracle_sid=ora10g
lsnrctl stop>>D:\syrong\document\DB\oracle_startup.log
lsnrctl start>>D:\syrong\document\DB\oracle_startup.log
rem net start oracleserviceora10g
sqlplus /nolog @D:\syrong\document\DB\oracle_startup.sql>>D:\syrong\document\DB\oracle_startup.log
oracle_startup.sql脚本如下:
connect / as sysdba;
startup nomount;
alter database mount;
alter database open;
quit
windows平台下oracle dim使用
启动oracle 服务、实例
oradim -startup -starttype srvc,inst -sid ora10g
关闭oracle 服务、实例:
oradim -shutdown -shuttype srvc,inst -sid ora10g
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17252115/viewspace-730706/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/17252115/viewspace-730706/