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

SQL SERVER - FORMATING ISSUE #283

Open
jacobgjorva opened this issue Nov 5, 2024 · 2 comments
Open

SQL SERVER - FORMATING ISSUE #283

jacobgjorva opened this issue Nov 5, 2024 · 2 comments

Comments

@jacobgjorva
Copy link

Would love for the table to be better formatted when using SQL SERVER.

@kristijanhusak
Copy link
Owner

Formatting is not controlled by vim-dadbod-ui, but instead by the CLI aplication behind it, in case of SQL SERVER that is sqlplus.

@oskarcjohansson
Copy link

oskarcjohansson commented Nov 11, 2024

I had same issue, as @kristijanhusak says - its not controlled by vim-dadbod-ui.
I have set a global default length in my .zshrc to kind of solve the issue:

export SQLCMDMAXVARTYPEWIDTH=36
export SQLCMDMAXFIXEDTYPEWIDTH=36

Kind of works, for some queries i saved them where i controll the length with LEFT().
@jacobgjorva If you find a better solution please let me know :)

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

No branches or pull requests

3 participants