help with creating a mysql query string

Sean Ross sross at connectmail.carleton.ca
Sun Jun 27 13:58:09 CEST 2004


"RiGGa" <rigga at hasnomail.com> wrote in message
news:3SvDc.22042$NK4.3722156 at stones.force9.net...
[snip]
>
> sqlquery = "INSERT INTO %s", tablename + " values(%s,%s,%s)", datavalue"
>
[snip]

sqlquery = "INSERT INTO " + tablename + " values(%s,%s,%s)"%datavalue





More information about the Python-list mailing list