The param "-h -1" removes title row.
sqlcmd -S localhost\sqlexpress -d username -U sa -P password -h -1 -m 1 -i "c:\dir\command.sql" -o "c:\dir\output\output.txt"
Microsoft AX 2012, X++, C#, SQL server, SSRS, Java, JavaFX, Oracle, PL/SQL, Delphi - codes examples, step-by-step tutorials, experiences.
sqlcmd -S localhost\sqlexpress -d username -U sa -P password -h -1 -m 1 -i "c:\dir\command.sql" -o "c:\dir\output\output.txt"
boolean bManualRunning = (BatchHeader::isExecutingInBatch() == false );