Remove white space from isql output
问题 Is there any way to stop isql from adding spacing before and after the returned fields? I just want the values from the table row separated by , . At the moment, using -b and -s ',' , I get: ,some_column_entry , 3213, another_column_entry, however, I want: ,some_column_entry,3212,another_column_entry, I read through all the switches, but couldn't seem to find anything appropriate. My wish is to get isql to output in this form rather than parsing the output. EDIT : select top 1 rtrim(ltrim