| |

How can I set database to a single user mode?
Answer:
To set database to a single user mode, you can use the Enterprise Manager
or the sp_dboption system stored procedure.
For example, to set pubs database to a single user mode, you can use
the following statement:
EXEC sp_dboption 'pubs', 'single user', 'TRUE'
Read SQL BOL to get more information about the sp_dboption system
stored procedure.
|
|