Skip to content

Drop database using SINGLE_USER mode #386

@david-poindexter

Description

@david-poindexter

Reported by @leedavi on a different issue.


I also noticed your drop database was not using SINGLE_USER, might be an idea to do that.

$"ALTER DATABASE [{this.dbName}] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;DROP DATABASE [{this.dbName}] END";

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions