problem with quoted strings while inserting into varchar field of database.

Daniele Varrazzo daniele.varrazzo at gmail.com
Mon May 7 10:42:10 EDT 2007


> Ashes on my head.

My fault: the difference is hard to spot indeed in the rather long
line of the example. I should have been more explicit stating that the
differences were:

 1. missing explicit quotes around the placeholders (they are part of
the escaped values),

 2. no % operator: two parameters are passed instead.

Best regards,

-- Daniele




More information about the Python-list mailing list