Dear All,
I have a string of bits 0s or 1s ,the string is 32bits but for now lets keep it simple, for example :
0100
which is stored in mysql database.
Now i want to do a search for any string in which the third bit is a 1 regardless of what the other bits are, like:
xx1x (x can be either 0 or 1)
Can somebody please help me out? I heard we can use bitwise OR for this kind of search, but i've got no clue how to use it.
Thank you very much
nm