Docker image for sqlcmd to query Microsoft SQL Server.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
LICENSE.md
README.md

README.md

fabian/sqlcmd

Sqlcmd – command line tool for Microsoft SQL Server.

fabiang/sqlcmd

License

When using this container you accept the licences from MICROSOFT SOFTWARE LICENSE TERMS MICROSOFT ODBC DRIVER 13 FOR SQL SERVER which can be found here

All other parts of the library are licensed under BSD 2-Clause License.

Usage

Connect to an Sqlsrv inside another container (Container name is "my-sqlsrv"):

docker run -it --link my-sqlsrv:sqlsrv fabiang/sqlcmd -S sqlsrv -U sa

Or to any other server on the network:

docker run -it fabiang/sqlcmd -S some-sqlsrv -U sa

Get available options with:

docker run -it fabiang/sqlcmd '-?'