MySQL Forums
Forum List  »  Docs

Re: store data in bit data type
Posted by: Paul DuBois
Date: February 10, 2010 03:28PM

Yes, you can store binary values, using b'11000' or 0b11000 notation. To display BIT values in binary, use the BIN() function.

For examples, see here:

http://dev.mysql.com/doc/refman/5.1/en/bit-field-values.html

Options: ReplyQuote


Subject
Views
Written By
Posted
9520
January 08, 2010 01:54PM
Re: store data in bit data type
3844
February 10, 2010 03:28PM
3036
March 27, 2010 09:07PM


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.