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
Hello, can I use the the snippet as string without use python variable?
%%sql --save mysnip --no-execute SELECT * FROM B
Manually add parentheses - could be this block obtained?
query = %sqlcmd snippets mysnip query = '"' + query + '"'
This Works
%%sql SELECT * jdbc('A', {{query}})
But this not
%%sql SELECT * jdbc('A', "mysnip")
The text was updated successfully, but these errors were encountered:
hi, can you expand?
up until this point, this works:
%%sql --save mysnip --no-execute SELECT * FROM B query = %sqlcmd snippets mysnip query = '"' + query + '"'
and this also works:
so I guess what you're asking is if you can do this:
and have "mysnip", expanded to the actual query? if that's what you mean, it isn't possible.
Sorry, something went wrong.
I like to have sql code highlighting. But second parameter in jdbc function is (sql) string that not sql highlighted.
One cell without highlighting:
%%sql SELECT * jdbc('A', "SELECT * FROM B")
To use highlighted SQL, I split to two cells, but it doesnt work.
First
And second:
Why I cannot use "mysnip" Or \"mysnip\"?
"mysnip"
\"mysnip\"
No branches or pull requests
Hello, can I use the the snippet as string without use python variable?
Manually add parentheses - could be this block obtained?
This Works
But this not
The text was updated successfully, but these errors were encountered: