如何使用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.
至少有三种方式: