Whilst trying to restore a "master" backup file (on my Windows Server 2003 / SQL Server 2005) machine I've dropped a clanger and re set the number of users from "0" (unlimited) to "1" in the SQL enterprise manager console (ignoring the warning that Enterprise Manager shows about no longer being able to use the management console if I did this !).
Can anyone explain how to reverse this? I'm sort of expecting that it will have to be done from a command prompt somehow?
I have an identical twin "standby" Proliant ML350 as a backup for a Sage enterprise system. I periodically backup the SQL Server databases from Sage and restore them to my standby machine. This has worked well for years - but you do have to restore the "master" databases whilst in single user mode. In a moment of stupidity I thought I'd try doing this by altering the setting mentioned above rather than my usual method.
sqlcmd
command line for it, that way you only get one connection into it rather than multiple. But it's probably actually set in the command line arguments for the service itself, using the-m
arg, see learn.microsoft.com/en-us/sql/database-engine/configure-windows/… just remove that arg inservices.msc
.