如何 start / stop MSQL server express

大家可能知道要 Start / stop MSSQL server 是可以用下列 commands:

net stop MSSQLSERVER
net start MSSQLSERVER

然而, 若大家用的是 MSSQL server express (即係免費版), 以上的 commands 是不會成功的--- 而是會出 "The service name is invalid" 之類的 error message.

要成功 start / stop sql server express, 可以試用下列 commands:

net stop mssql$sqlexpress
net start mssql$sqlexpress

JinTech Semiconductor Co., Ltd JinTech Semiconductor Co., Ltd - About Us JinTech Semiconductor Co., Ltd - Our Service JinTech Semiconductor Co., Ltd - Expected Quality System Certification JinTech Semiconductor Co., Ltd - Contact Us Our Partners – Sai Fung Electronics Ltd