mysql和oracle批处理运行sql文件和oracle导入dmp文件
mysql批处理运行sql:
net stop mysql
net start mysql
echo Wscript.Sleep(3000) > sleep.vbs
start /w wscript.exe sleep.vbs
del /Q sleep.vbs
mysql -f -u mysql -ppassword anxiesoft < update.sql
net stop mysql
net start mysql
pause;
oracle批处理运行sql:
sqlplus dssc/dssc@dssc @./update.sql > ./update.log
oracle导入dmp文件:
imp dssc/dssc@dssc file=d:/0713.dmp tables=(organization,devices ) log=d:/imp0713.log ignore=y
pause
Copyright © 2019- worldimage.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务