首页 >web前端 >js教程 >Sample script that deletes a SQL Server database_javascript技巧

Sample script that deletes a SQL Server database_javascript技巧

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-05-16 19:12:211064浏览

Sample script that deletes a SQL Server database.

Supported Platforms

SQL Server 2000
 Yes


Script Code

复制代码 代码如下:

strDBServerName = "." 
strDBToDelete       = "ScriptingGuysTestDB" 

Set objSQLServer = CreateObject("SQLDMO.SQLServer") 
objSQLServer.LoginSecure = True 
objSQLServer.Connect strDBServerName 

objSQLServer.KillDatabase strDBToDelete 
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn