Why Doesn't This MySQL Statement Execute?

Tom Borkin borkintom at gmail.com
Tue Dec 18 19:11:10 EST 2012


Actually, what I originally had was:
cursor.execute("""insert into interactions values(Null, %s, "Call Back",
%s)""", (i_id, date_plus_2))
and that didn't work, either. I tried your variation like:
cursor.execute("""insert into interactions values(Null, %s, "Call Back",
%s)""" % (i_id, date_plus_2))
and no cigar :(
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121218/debd5b9b/attachment.html>


More information about the Python-list mailing list