I am firing a SQL query through command prompt
H:\>sqlcmd -S cx-siscsqltest\sqlinst -Q "select serverproperty('servername'), serverproperty('Edition'), SERVERPROPERTY('ProductVersion'), SERVERPROPERTY('Productlevel') "
The output is returning huge spaces, can you please help me remove those spaces? I have to use this output in xml