On May 25, 10:51 am, "Dave Borne" <[EMAIL PROTECTED]> wrote: > > I'm trying to run the following query: > ... > > member_id=%s AND expire_date > NOW() AND completed=1 AND (product_id > > Shouldn't you be using the bind variable '?' instead of '%s' ? > (I'm asking because I'm not entirely sure how the execute command is > doing the substitution) > > -Dave
Hi Dave, I'm not sure. I've been using this format for all of my other queries without issue. What would the query look like with the bind variable instead? Erik -- http://mail.python.org/mailman/listinfo/python-list