Why Doesn't This MySQL Statement Execute?

Chris Angelico rosuav at gmail.com
Tue Dec 18 23:42:11 CET 2012

On Wed, Dec 19, 2012 at 9:28 AM, Tom Borkin <borkintom at gmail.com> wrote:
> No (lol). It returns a date as a string: "2012-12-12" for example.
> Tom

Then that's why it doesn't work. Wayne was hinting at a major MAJOR
problem with your code; it's interpolating data into the SQL
statement, instead of providing parameters to the query.

Don't do it! Just don't!


More information about the Python-list mailing list