Dockerized version of Sqlline commandline tool with built in MSSQL JDBC driver
1.9K
This is Dockerized version of Sqlline commandline tool with built in MSSQL JDBC driver.
Sqlline is a command-line utility for running SQL statements against relational databases via JDBC connection.
This image consists of:
Let's execute SQL queries from queries.sql file, located in the current directory:
docker run --rm -v $(pwd):/r dimedrol/sqlline:latest -u "jdbc:sqlserver://mssqlserver.example.com:1433;databaseName=mydatabase" -n "mydbuser@mssqlserver" -p "billy26lifespan93Haas" -f /r/queries.sql
/r path used just to make command shorterlogin@servernamedimedrol/sqlline:latest
Content type
Image
Digest
Size
155.6 MB
Last updated
over 6 years ago
docker pull dimedrol/sqlline