sc queryex type= service state=
all
| find /i
"SQL Server"
sqlservr -m -T
4022
-T
3659
-s
"SQLEXPRESS2008R2"
-q
"SQL_Latin1_General_CP1_CI_AS"
2018
-08
-01
17:
12:
30.25
spid
7
s The
default
collation was successfully change
d.
30.26
s Recovery is complete. This is an informationa
l message only. No user action is required.
42.01
Logon Error:
18461
, Severity:
14
, State:
1
.
Logon Login failed for user 'NT AUTHORITY\NETWORK S
ERVICE'. Reason: Server is in single user mode. Only one administrator can conne
ct at this time. [CLIENT: <
local
machine>]
13:
41.91
Do you wish to shutdown SQL Server (Y/N)? Y
NET START
"SQL Server (SQLEXPRESS2008R2)"
D:\Program Files\Microsoft SQL Server\MSSQL
10
_
50
.SQLEXPRESS
2008
R
2
\MSSQL\Binn>
The SQL Server (SQLEXPRESS
) service is starting.
) service was started successfully.