SQL Server - mssql-tool

Card Puncher Data Processing

About

A collection of command line tool.

Installation

Redhat

  • Download the Microsoft Red Hat repository configuration file.
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
  • If you had a previous version of mssql-tools installed, remove any older unixODBC packages.
sudo yum remove unixODBC-utf16 unixODBC-utf16-devel
sudo yum install -y mssql-tools unixODBC-devel
  • Add them in the path
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bash_profile
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' >> ~/.bashrc
source ~/.bashrc





Discover More
Card Puncher Data Processing
Sql Server - sqlcmd

The command line tool of SQL Server. see Connect as SA Quit where: s is the separator S is the server d is the database name W suppress trailing space



Share this page:
Follow us:
Task Runner