go-sqlcmd
go-sqlcmd copied to clipboard
The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads)
mssql-cli has a nice prompt and nice table output thanks to the use of the following Python libraries: - [CLI Helpers](https://cli-helpers.readthedocs.io/en/stable/) - [Python Prompt Toolkit](https://python-prompt-toolkit.readthedocs.io/en/master/) - [Tabulate](https://github.com/astanin/python-tabulate) mssql-cli is on...
i am able to install it from `apt` on WSL (Ubuntu 22.04) but can't run it. ``` ~$ sqlcmd bash: /usr/bin/sqlcmd: cannot execute binary file: Exec format error ``` Win...
Per output.go line 35: var standardWriteCloser io.WriteCloser "don't we need separate error and stdout channels? Most apps don't write everything to stdout, they use stderr too. Legacy Sqlcmd also lets...
A typical support scenario is going to be, can you run that command again with full logging, e.g. sqlcmd create mssql -v 4 Which is currently short for sqlcmd create...
For legacy mode we have a few options: 1. Add a new flag for HNIC. 2. Make HNIC an optional parameter to `-C`, such that `-C X` means "trust the...
- Telemetry and logging based on env variable
DRAFT: Not ready for code review yet. ---- This PR rounds out the "use" scenario for containers, to allow the casual user who doesn't know containers/linux well, to be able...
Enable: sqlcmd -Q "select my_col from my_table" --output json And the output to stdout is json/yaml/xml etc. encoding of the result set. (probably following the server side FOR XML AUTO...
Feedback: The downloading step was taking forever for me, and without a progress bar I had no idea of how much was still remaining. I restarted the process twice as...