Use python variable in SQL cell

I have access to a few databases but unable to utilize linked servers. It would be nice to be able to grab a python variable to use in sql cell (like an f string or something). I am left to copy and paste in my notebook from python output to sql cell.

Hi @Philip_Steichen, I’m happy to announce that SQL query parameterization is already in test and hopefully will be available later this month.

Anyway, thanks for the suggestion!

Thanks @igro! I’ll be watching the blog closely!

1 Like

Hello!

You can now parametrize queries inside SQL cells,
you can find more info in our docs: SQL cells | Datalore

2 Likes