Search
 
SCRIPT & CODE EXAMPLE
 

SQL

install mssql on ubuntu

sudo apt-get install mssql-server -y
Comment

ubuntu install mssql client

#Import the public repository GPG keys.
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

#Register the Microsoft Ubuntu repository.
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list

#Update the sources list and run the installation command with the unixODBC developer package.
sudo apt-get update 
sudo apt-get install mssql-tools unixodbc-dev

#Note
#To update to the latest version of mssql-tools run the following commands:
sudo apt-get update 
sudo apt-get install mssql-tools 

#Optional: Add /opt/mssql-tools/bin/ to your PATH environment variable in a bash shell.

#To make sqlcmd/bcp accessible from the bash shell for login sessions, modify your PATH in the ~/.bash_profile file with the following command:
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile
#To make sqlcmd/bcp accessible from the bash shell for interactive/non-login sessions, modify the PATH in the ~/.bashrc file with the following command:
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc
Comment

install mssql on ubuntu

sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-preview.list)"
Comment

install mssql in linux

wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Comment

PREVIOUS NEXT
Code Example
Sql :: sql in operator 
Sql :: add column sql 
Sql :: not in in mongodb 
Sql :: Join multiple table by MySQL 
Sql :: postgres ERROR: relation "user" does not exist 
Sql :: how to order a union sql 
Sql :: xampp mysql problem detected port 3306 in use by 
Sql :: json object to column value in sql server 
Sql :: error code 1241 mysql 
Sql :: mysql error 1452 
Sql :: join sql 
Sql :: sql decimal with 2 places 
Sql :: sql server port 1434 
Sql :: ORA-06502: PL/SQL: numeric or value error: character string buffer too small 
Sql :: sql query interview questions 
Sql :: postgresql functions 
Sql :: oracle exchange subpartition 
Sql :: mysql 5 minutes ago 
Sql :: use mysql in java program 
Sql :: delete from table and truncate table 
Sql :: oracle sql winter time change 
Sql :: vbscript clean up ADODB.Recordset 
Sql :: change mysql paasword in cmd 
Sql :: ring MySQL Restore Image From The Database 
Sql :: copy data from cell to cell mysql 
Sql :: radius search with point data in mysql 
Sql :: sql delete all except 
Sql :: providername system.data. mysql 
Sql :: sql examples from your work 
Sql :: how to import sqlite driver class in java using maven 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =