各位高人:
请教数据库的打开和关闭的问题
数据库的打开用USE DATABASE db_name语句,但是不知有没有关闭数据库的命令?因为我在用DROP DATABASE db_name 删除这个数据库时,查询分析器报告说这个数据库正在使用,不能删除。所以我想应该有个关闭数据库的命令吧?
请高人指教不胜感激!
your means that the database can't be drop?
i think it will be do that when you restart your computer!
please try,perhaps,that some processes use that database
or you can restart ms-sqlserver services to try