Skip to content

Conversation

shueybubbles
Copy link
Collaborator

With the -F vertical switch you can orient results vertically:

sqlcmd -F vert -S sqltools2019-3 -Q "select top 5 name, database_id from sys.databases"

name        distribution_db
database_id 9

name        DWConfiguration
database_id 6

name        DWDiagnostics
database_id 5

name        DWQueue
database_id 7

name        keep_AdventureWorksDW
database_id 13


(5 rows affected)

I also fixed rendering of uniqueidentifier values.

@shueybubbles
Copy link
Collaborator Author

Fixes #21

@shueybubbles shueybubbles merged commit f479c2a into main Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants