Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Why Doesn't This MySQL Statement Execute?

Reply
Thread Tools

Re: Why Doesn't This MySQL Statement Execute?

 
 
Chris Angelico
Guest
Posts: n/a
 
      12-18-2012
On Wed, Dec 19, 2012 at 9:28 AM, Tom Borkin <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Doesn't This MySQL Statement Execute? Tom Borkin Python 5 12-19-2012 05:40 AM
Re: Why Doesn't This MySQL Statement Execute? Wayne Werner Python 0 12-18-2012 10:02 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM



Advertisments