Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chage database Master (Single User Mode)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello, I have a copy of database master and I want to copy this db in another server. Doing this I need to run SQLServer in single user mode ( using parameter -m) but when I do this I don't know how to continue...

THANKS.
 
Hi,
It may helps to you try this,

exec sp_dboption 'databasename','single user','TRUE'

Madhu.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top