首頁 >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:211068瀏覽

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