通过批处理文件来启动或者停止oracle服务,10g,9i

10g启动

@echo off
net start OracleCSService
net start OracleJobSchedulerZHPT
net start OracleOraDb10g_home1iSQL*Plus
net start OracleOraDb10g_home1TNSListener
net start OracleServiceZHPT

 

10g停止

@echo off
net stop OracleCSService
net stop OracleJobSchedulerZHPT
net stop OracleOraDb10g_home1iSQL*Plus
net stop OracleOraDb10g_home1TNSListener
net stop OracleServiceZHPT

 

 

9i启动

@echo off
net start OracleMTSRecoveryService
net start OracleOraHome92Agent
net start OracleOraHome92TNSListener
net start OracleServiceDEMO

 

9i停止

@echo off
net stop OracleMTSRecoveryService
net stop OracleOraHome92Agent
net stop OracleOraHome92TNSListener
net stop OracleServiceDEMO

 

黑色头发:http://heisetoufa.iteye.com

你可能感兴趣的:(oracle,.net)