MySQL 5 and Condition

The word “condition” is a reserved name in MySQL 5, apparently. It was not in MySQL 4. Thus, if you have a query where you do something like this:

SELECT the_field_name AS condition FROM the_table

That causes problems.

Share this

  • Facebook
  • Reddit
  • StumbleUpon
  • Digg
  • email
  • del.icio.us
  • Twitter
  • LinkedIn

Leave a Reply