feat: allow -q initial query to work with -i input files by dlevy-msft-sql · Pull Request #626 · microsoft/go-sqlcmd

@dlevy-msft-sql

Previously -q and -i were mutually exclusive. Now -q runs first, then -i files.

The -Q flag remains mutually exclusive with -i since -Q exits after executing.

Test uses SET NOCOUNT ON (locale-independent) instead of SET LANGUAGE German.

@dlevy-msft-sql dlevy-msft-sql changed the title Allow -q (initial query) to work with -i (input files) feat: allow -q initial query to work with -i input files

Feb 5, 2026

@dlevy-msft-sql