oracle 64位 11g win10系统怎么写批文件启动数据库,麻烦求一个详细的图文,新手学习,谢谢
这个就是我写的批处理文件和点击运行后的反应,但结果啥都没有,不知道哪写错了
@echo off
@echo oracle 服务
@echo 1启动服务, 2关闭服务, 3退出程序
set/p s=:123(start,stop,exit):
if "%s%"--"3" goto:start
if "%s%"--"2" goto:stop
if "%s%"--"3" goto:exit
:start
net start oracleoradb11g_home1TNSlistener
net start oracleServiceorcl
@echo 服务和启动
goto exit
:stop
net stop oracleoradb11g_home1TNSlistener
net stop oracleServiceorcl
@echo服务已关闭
goto exit
:exit
@echo程序已完成
pause exit
以上是我写的,不知道哪写错了,也是在网上搜的