Gå offline
USE master
GO
ALTER DATABASE YourDatabaseName
SET OFFLINE WITH ROLLBACK IMMEDIATE
GO
Gå online
USE master
GO
ALTER DATABASE YourDatabaseName
SET ONLINE
GO
Gå offline
USE master
GO
ALTER DATABASE YourDatabaseName
SET OFFLINE WITH ROLLBACK IMMEDIATE
GO
Gå online
USE master
GO
ALTER DATABASE YourDatabaseName
SET ONLINE
GO