Why Doesn't This MySQL Statement Execute?
Chris Angelico
rosuav at gmail.com
Tue Dec 18 17:42:11 EST 2012
More information about the Python-list mailing list
Tue Dec 18 17:42:11 EST 2012
- Previous message (by thread): Why Doesn't This MySQL Statement Execute?
- Next message (by thread): Why Doesn't This MySQL Statement Execute?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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! ChrisA
- Previous message (by thread): Why Doesn't This MySQL Statement Execute?
- Next message (by thread): Why Doesn't This MySQL Statement Execute?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list