sqlcmd returning NUL instead of NULL for tinyint column
sqlcmd only displays as many characters in a column as the width of the column data or the width of the column name, whichever is longer. You can expect the same behavior with the following data types:


bit 
tinyint 
decimal with precision &lt; 2 
varchar with length &lt; 4


To work around the issue you can either cast the column to a longer data type or rename the column to a longer name.