Użytkownik John Fabiani napisał:
> tempCur.execute("insert into table (someval,moreval) values (%s, '%s')" %
> (codeval,morecodeval))
>
>    

I rather dissuade such query usage.
The preferred way is:

tempCur.execute("insert into table (someval,moreval) values (%s, %s)",
        (codeval,morecodeval))

Regards
Jacek Kałucki
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/4d95ddfe.5050...@rz.onet.pl

Reply via email to