How to use c # + SQL server how to implement, thank you! (a source better!)
CodePudding user response:
Don't need so extreme? The database is lockedCodePudding user response:
Feeling this need a little violence
Single user mode and user mode difference between
Switching mode
CodePudding user response:
C # is no.Implemented on the server directly used on,
Upstairs right, single user directly,
USE [master]
GO
The ALTER DATABASE [dbName] SET SINGLE_USER WITH NO_WAIT
GO
But first to kill all processes, is when accessing the user a lot of trouble,
CodePudding user response:
More violence is to stop the service, change port, restart the service, you should do, a matter of changing back to port, restart the service,
CodePudding user response:
The