Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35077 > unrolled thread

Re: Why Doesn't This MySQL Statement Execute?

Started byChris Angelico <rosuav@gmail.com>
First post2012-12-19 09:42 +1100
Last post2012-12-19 09:42 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Why Doesn't This MySQL Statement Execute? Chris Angelico <rosuav@gmail.com> - 2012-12-19 09:42 +1100

#35077 — Re: Why Doesn't This MySQL Statement Execute?

FromChris Angelico <rosuav@gmail.com>
Date2012-12-19 09:42 +1100
SubjectRe: Why Doesn't This MySQL Statement Execute?
Message-ID<mailman.1033.1355870535.29569.python-list@python.org>
On Wed, Dec 19, 2012 at 9:28 AM, Tom Borkin <borkintom@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web