Sign inSign up

fabiang/go-sqlcmd

By fabiang

Updated 1 day ago

Modern command line tool written in Go for Microsoft SQL Server

Image
0

10K+

fabiang/go-sqlcmd repository overview

fabian/go-sqlcmd

Sqlcmd – Modern command line tool written in Go for Microsoft SQL Server.
Docker image for old sqlcmd is also available.

fabiang/go-sqlcmd fabiang/go-sqlcmd Docker Image

License

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 \
    -e SQLCMDPASSWORD='yourStrong(!)Password' \
    fabiang/go-sqlcmd -S sqlsrv -U sa

Or to any other server on the network:

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

Get available options with:

docker run -it fabiang/go-sqlcmd '-?'

Tag summary

Content type

Image

Digest

sha256:93ac5def7

Size

18.5 MB

Last updated

1 day ago

docker pull fabiang/go-sqlcmd