用jscript启动sqlserver_javascript技巧
程序员文章站
2022-03-16 22:21:25
...
strDBServerName = "."
Set objSQLServer = CreateObject("SQLDMO.SQLServer")
objSQLServer.LoginSecure = True
objSQLServer.Name = strDBServerName
objSQLServer.Start False
Set objSQLServer = CreateObject("SQLDMO.SQLServer")
objSQLServer.LoginSecure = True
objSQLServer.Name = strDBServerName
objSQLServer.Start False