On Fri, 2 Mar 2001 14:00:21 -0000 , Jon Haworth <[EMAIL PROTECTED]>
wrote:
You can use the datatype:
col_name ENUM('True','False') # True or False
or
col_name SET('True','False') # only these value will be excepted
>>I usually use a tinyint with a value of 1 for true, and 0 for false. There
>>doesn't appear to be a boolean datatype in MySQL, but I may have missed it
>>:-)
>>
>>
>>HTH
>>Jon
>>
>>
>>-----Original Message-----
>>From: Scott Dunn [mailto:[EMAIL PROTECTED]]
>>Sent: 02 March 2001 13:55
>>To: Mysql
>>Subject: yes/no
>>
>>
>>I want to have like in Access a column that is yes or no or true or false,
>>something on that line. I looked at www.mysql.com but could not find
>>anything. I don't know what exactly I am looking for. Could someone give me
>>a hand it will be greatly appreciated.
Mike(mickalo)Blezien
========================================
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225) 686-2002
=========================================
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php