I use the command line below to run an SQL query using SQLCMD
sqlcmd -S Server -Q "select top 100 * From people" -d people -t 10
The table consists of 20 columns, and when I look at the output command line window, it wraps the text and makes it difficult to read.
I want my results to display the same way they appear in SQL Server Management Studio (formatted correctly). I'm not looking for grids, but I need all my columns to appear in row 1, and the results to be properly displayed below.
Thank you in advance.
source share