-
Notifications
You must be signed in to change notification settings - Fork 371
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
how to pass a python variable to a multine sql magic #120
Comments
It's a duplicate of #80 |
Has this been published into the package now? |
This problem has been resolved in 0.3.9 Just use For multiline SQL name = 'Countess'
%%sql
select description
from character
where charname = :name
# output: [(u'mother to Bertram',)] You can also use name = 'Countess'
%sql select description from character where charname = :name
# output: [(u'mother to Bertram',)] |
The following does not work: t = 'employee'
%sql SELECT * FROM :t The error messages are:
However, this works:
|
Hi,
is it possible to have
And use it in
I'm not able to do use it in a multiline magic
The text was updated successfully, but these errors were encountered: