Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

bit checking in a number

433282Dec 14 2004 — edited Dec 14 2004
hi oracle people!
I was wondering if it is possible in oracle to check for a certain bit in a number
ie
i would like to check for bit 1 my option column whcih is a number[10] datatype.

so if the number 3 is in there '0011' or number 5 '0101' etc I can get them both by checking for bit 1 being set?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2005
Added on Dec 14 2004
1 comment
803 views