Skip to content

Commit 314c426

Browse files
authored
Create Set-Database-From-Single-User-Mode-to-Multi-User-Mode-SQL-Server.sql
1 parent 0e06f2a commit 314c426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- checking the database mode
2+
SELECT DATABASEPROPERTYEX('University', 'UserAccess') AS UserAccessMode;
3+
4+
-- Converting database to multi-user mode
5+
ALTER DATABASE University SET MULTI_USER;

0 commit comments

Comments
 (0)