c:\> sqlcmd -S .\Db_INSTANCE -Q "DROP DATABASE dbname"
Db_INSTANCE is the name of SQL Server instance
dbname is the name of the database to drop
Reference(s):
http://windows-linux-admin.blogspot.com/2011/06/deleting-database-with-sqlcmd.html
c:\> sqlcmd -S .\Db_INSTANCE -Q "DROP DATABASE dbname"
#include <iostream> #include <csignal> #include <ctime> #include <cerrno> #include <cstring> #include <unis...
No comments:
Post a Comment