MySQL Forums
Forum List  »  Newbie

Macintosh true / false
Posted by: Maxime Nober
Date: April 29, 2005 12:20PM

I'm having a problem with true/false

In mysql on Windows 2000:
mysql> select true;
+------+
| TRUE |
+------+
| 1 |
+------+
1 row in set (0.14 sec)

---
In mySql on Mac Os X
mysql> select true;
ERROR 1054: Unknown column 'true' in 'field list'

---

on my mac os x, i can't do something like:
update tablename set active=true;

I think i need to do something like enum(false,true) { in server variable } but i don't know how.

any ideas?

Options: ReplyQuote


Subject
Written By
Posted
Macintosh true / false
April 29, 2005 12:20PM
April 29, 2005 01:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.