我安得是SQL SERVER 2005
然后安了示例数据库northwind,
现在想在SQL2005中删除这个示例数据库,请问怎么删啊
(本人是菜鸟,知道开始程序菜单里SQL Server Configuration Manager工具,别的工具都不会用,请详细说明)
然后安了示例数据库northwind,
现在想在SQL2005中删除这个示例数据库,请问怎么删啊
(本人是菜鸟,知道开始程序菜单里SQL Server Configuration Manager工具,别的工具都不会用,请详细说明)
godrop database northwind
→ SQL Server Management Studio(Express)
2)WINDOWS或则MS SQL方式验证连接MS SQL后
3)删除之方法
3.1)可以在对象资源管理器中→ 选择数据库 → 点开+ → 右击northwind 选择删除
3.2)点击 新建查询项(MS SQL管理器的左上角)(默认打开后当前数据库为MASTER)→输入如下命令
DROP DATABASE northwind
GO
3.3)对象资源管理器中→ 选择数据库 → 点开+ →查看northwind是否被删除
这个东西到底在哪里点出来。开始程序->SQL SERVER里配置工具压根就没
drop database northwind或者if exists ('northwind')is not null
drop database northwind
到ms下载Microsoft SQL Server Management Studio Express
链接:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796
drop database northwind
go
dbcc dbrepair(yourdbname,dropdb)
drop database northwind