【发布时间】:2017-12-27 05:57:50
【问题描述】:
如何使用 T-SQL 从磁盘中删除分离的数据库? 我想从我的硬盘中删除一个分离的数据库。我应该在 T-SQL 中做什么?我想创建一个同名的数据库,但在 Microsoft SQL Server 2014 Management Studio 中出现此错误:
Cannot create file 'H:...\Restaurant_Data.mdf' because it already exists. Change the file path or the file name, and retry the operation.
【问题讨论】:
标签: sql-server tsql sql-delete delete-file detach