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"
SBCL Hello, world! Version info: - OS: Windows 11 23H2 (Microsoft Windows [Version 10.0.22631.7079]) - Emacs: 30.2 - SBCL : 2.6.4 - SLI...
No comments:
Post a Comment