Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35077 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2012-12-19 09:42 +1100 |
| Last post | 2012-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.
Re: Why Doesn't This MySQL Statement Execute? Chris Angelico <rosuav@gmail.com> - 2012-12-19 09:42 +1100
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2012-12-19 09:42 +1100 |
| Subject | Re: 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
Back to top | Article view | comp.lang.python
csiph-web