Storing bitwise values in mysql
I have just read that MySQL can handle 64-bit logical
operations on a bigint field. I would like to have some
suggestions on how to turn the bits on. Is there a handy
function that does this? Working with something like
(a | 1125899906842624) to switch on bit 50 is going to
be hard to work with. Perhaps MySQL has some internal
constants that I have not found yet.
Thank you
Subject
Written By
Posted
Storing bitwise values in mysql
September 03, 2004 03:01AM
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.