You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlcmd -Q "select my_col from my_table" --output json
And the output to stdout is json/yaml/xml etc. encoding of the result set. (probably following the server side FOR XML AUTO / FOR JSON AUTO encoding strategy)