本文介绍了来自vb.net代码的SQL安装命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在通过批处理文件使用以下命令来安装我所需的SQL服务器实例。问题是,当它运行时,语句显示在屏幕上,.bat文件打开以供查看。
如何通过我的vb.net应用程序运行此语句?
开始/等待SQLEXPR32and64.EXE / qb username =MyNamecompanyname =CONameaddlocal = ALL disablenetworkprotocols =2instancename =ERPTestingSECURITYMODE =SQL SAPWD =abc123
谢谢
解决方案
Hi,
I am using following command through a batch file to install my required instance of SQL server. Problem is, when it runs, statement is shown on screen and .bat file is open for view.
How can I run this statement through my vb.net application?start /wait SQLEXPR32and64.EXE /qb username="MyName" companyname="COName" addlocal=ALL disablenetworkprotocols="2" instancename="ERPTesting" SECURITYMODE="SQL" SAPWD="abc123"
Thanks
解决方案
这篇关于来自vb.net代码的SQL安装命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!