We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, Team,
Thanks for your great extension, it helps me a lot😊.
I hope to know whether it is possible to support heredoc SQLs in bash shell script.
Heredoc is a way to pass multiple line SQLs to RDBMS client tools (PostgreSQL psql, MySQL mysql, Oracle sqlplus, etc.) inside shell scripts.
psql
mysql
sqlplus
If SQL syntax highlighting can also be supported in shell script heredoc, more people can get benefit from it.
A postgres psql example likes below.
#!/bin/bash psql -v ON_ERROR_STOP=1 -AqtX <<EOF --sql BEGIN; SELECT * FROM table_1; INSERT INTO table_2 VALUES (1,'hello'); COMMIT; EOF
Best Regards.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, Team,
Thanks for your great extension, it helps me a lot😊.
I hope to know whether it is possible to support heredoc SQLs in bash shell script.
Heredoc is a way to pass multiple line SQLs to RDBMS client tools (PostgreSQL
psql
, MySQLmysql
, Oraclesqlplus
, etc.) inside shell scripts.If SQL syntax highlighting can also be supported in shell script heredoc, more people can get benefit from it.
A postgres
psql
example likes below.Best Regards.
The text was updated successfully, but these errors were encountered: