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)
Hello, I want to use Kerberos on Debian 11 to authenticate with SQL Server but I'm struggling to get sqlcmd to catch on with what I'm trying to accomplish. ```...
We need a better way of unit testing the sqlcmd code to launch 3rd party UI tools, like ADS and SSMS. Comment from code reviews: if !test.IsRunningInTestExecutor() { return t.tool.Run(args)...
The `sqlcmd create mssql` command and all of the surrounding lifecycle commands (start/stop/delete) etc. is a complete end to end scenario that would be useful as it's own golang pkg...
Spoken with Matteo who is looking at integrating the SqlServer Powershell module with ~/.sqlcmd/sqlconfig
Now is a good time to establish rules for code layout to align with application logic and layering. e.g. cmd is on top, pkg under that, internal under that. No...
If the hosted Azure Windows agents have docker on them, we should update [.pipelines/TestSql2017.yml] to have 2 jobs, one on Linux and one on Windows. Or implement an appveyor.yml that...
There is a place in the code we need to determine if we are running in a unit-test framework (to ensure the code doesn't call os.Exit(), which would shut down...
This repo follows the Go Style Guide [1], this issue we will use track specific styles beyond that covered in the general Go Style Guide, which we'll then write up...
The metadata for an endpoint looks like this: endpoints: - endpoint: address: localhost port: 1433 name: endpoint - asset: container: id: aeedc3821812c45120300a467cd82c90e5c049b4610256dfffb6701c99665f01 image: mcr.microsoft.com/mssql/server:latest To be able to generate the...
The modern CLI uses a dependency injection architecture which makes it easier for most source files to get to 100% unit test code coverage. To keep this 100% code coverage...