You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd /c "sqlcmd -S $srvName -U sa -P sa -Q `"use master; if exists(select * from sys.databases where name = '$name') begin ALTER DATABASE [$name] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; drop database [$name]; END `""