SQL Server: let's install SQL Server command line tools for Linux and run the first query!
Hi Guys, In yesterday's post we installed step by step VMware, Ubuntu 20.4 and SQL Server 2019 for linux Since SQL Server for linux doesn't have the Management Studio (SSMS) we need to install the command line tool . Today, we will also see how to execute the first query by creating a new database and inserting some data. Let's go! SQL Server command line tools installation Since curl is not installed by default you need to install it with these command: sudo apt-get update sudo apt install curl Now enter this command: curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - The process must ends with an OK message. So Curl in installed. Now type this command: curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list Now type these commands to download the mssql-tools: sudo apt-get update sudo apt-get install mssql-tools unixodbc-dev Press "Y" And Accept the license terms...