DEV Community

loading...

How to run SQL server on ubuntu; how to (re)start SQL server on ubuntu; how to stop SQL server on ubuntu

Kemal C.
πŸ’ΌπŸ”° Software and Data Engineer πŸ‘¨β€πŸ’» IEEE Professional Member πŸ–₯ coder 😎 mentor 🎯 Code.org Instructor volunteer πŸ’‘
・1 min read

1 Install it first: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-2017

2 Check:

~$ sudo systemctl status mssql-server
Enter fullscreen mode Exit fullscreen mode

3 Do what you need:

~$ sudo systemctl stop mssql-server
~$ sudo systemctl start mssql-server
~$ sudo systemctl restart mssql-server
Enter fullscreen mode Exit fullscreen mode

Discussion (1)

Collapse
andigokas profile image
andigokas • Edited

Do you want to know what is the use of raise error in SQL Server? RAISERROR is used to return messages to applications using the same format as a system error or warning message generated by the SQL Server Database codingsight.com/sql-raiserror-stat...