Viewing post 1 (of 1 total)
Hi Sourav Mukherjee,
You can use the below command.
ALTER DATABASE [mydb] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
RESTORE DATABASE [mydb] FROM DISK='f:\backup\mydb.bak'
April 5, 2011 at 3:08 pm
#1307737