MySQLdb question

Michał Kurowski mkur at poczta.gazeta.pl
Thu Jun 20 08:35:19 EDT 2002


Hi,

I'm working on a small project involving sql (MySQLdb-0.9.1) and I constantly have to
"get around" a  quite weird problem:

I cannot find a way to pass a sql statement a table as a parameter.

In Zope you can do something like:
"select * from <dtml-var table> where <dtml-sqlvar ... >"

And what about pure MySQLdb ?
Quotes are getting in the way and the client just breaks.

Thanks for your help.


-- 
Michal Kurowski
<michal at poczta.gazeta.pl>



More information about the Python-list mailing list