Oracle服务启动停止
启动:
在这里插入代码片
@echo off
@echo 启动Oracle11g服务
net start "OracleDBConsoleorcl"
net start "OracleOraDb11g_home1TNSListener"
net start "OracleServiceORCL"
@echo Oracle服务启动完成 按任意键继续
pause
exit
关闭:
@echo off
@echo 停止Oracle11g服务
net stop "OracleDBConsoleorcl"
net stop "OracleOraDb11g_home1TNSListener"
net stop "OracleServiceORCL"
@echo Oracle服务关闭完成 按任意键继续
pause
exit