use master
go
alter database DoNet set SINGLE_USER with ROLLBACK IMMEDIATE
go
restore database DoNet from disk='D:\DoNet.BAK' with replace
go
posted on 2009-08-05 10:37  轻狂如我,奋华图强  阅读(184)  评论(0)    收藏  举报