快捷搜索:

Sample script that deletes a SQL Server database

Sample script that deletes a SQL Server database. Supported Platforms SQL Server 2000 Yes Script Code 复制代码 代码如下:strDBServerName = "." strDBToDelete = "ScriptingGuysTestDB" Set 918博天堂网址objSQLServer = CreateObject("SQLDMO.SQLServer") objSQLServer.LoginSecure = True objSQLServer.Connect strDBServerName objSQLServer.KillDatabase strDBToDelete

本文源自: AG88平台

您可能还会对下面的文章感兴趣: