MS SQL Server OSQL - I am running a query using osql and returning the resultant output to a file.
It appears the minimum length of each column returned is 4 characters. eg Try " SELECT '1' " as the query and it returns 4 characters, ie "1 ".
Is there any way to to get rid of this apparent 4 character minimum per column? I am using the arguments -s -n -h-1 -m-1 -w 145 -b when running the query.