Błąd przywracania bazy danych
USE master;
GO
ALTER DATABASE Database_name
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
Horrible Hedgehog
USE master;
GO
ALTER DATABASE Database_name
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
RESTORE DATABASE [databasename] WITH RECOVERY
USE master;
GO
ALTER DATABASE Database_name
SET MULTI_USER;
GO