On Wed, Dec 19, 2012 at 9:28 AM, Tom Borkin <borkin...@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 -- http://mail.python.org/mailman/listinfo/python-list