SQL Server Command Line
Para instalar SQL Server Command Line
Fuente
Instale curl
Ejecute
Agregarlo al bash
Hacerlo accesible para cualquier sesion
Entrar
Last updated
Was this helpful?
Para instalar SQL Server Command Line
Fuente
Instale curl
Ejecute
Agregarlo al bash
Hacerlo accesible para cualquier sesion
Entrar
Last updated
Was this helpful?
Was this helpful?
sudo apt-get install curlcurl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get -y install mssql-tools
sudo apt-get install unixodbc-devecho 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profileecho 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc# sqlcmd -S 127.0.0.1 -U SA
Password:
1> create database testDB;