Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement vertical format option #54

Merged
merged 2 commits into from
Mar 14, 2022
Merged

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