"Bitwise" operators?

Is there a way to do "bitwise" calculations in Oracle SQL?

Example in "pseudocode"

(4 BITAND 5) = 4 (100 "and" 101 = 100)
(40 BITAND 9) = 8 (101000 "and" 001001 = 001000)

and so on?
LVL 4
WernerVonBraunAsked:
Who is Participating?
 
morphmanCommented:
0
 
WernerVonBraunAuthor Commented:
Solutions in Oracle 8 compliant SQL please. That's our customers' lowest common denominator ...
0
 
annamalai77Commented:
hi

check the link below

http://www.jlcomp.demon.co.uk/faq/bitwise.html

regards
annamalai
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
WernerVonBraunAuthor Commented:
0
 
annamalai77Commented:
hi there

this link will also help u.
http://www.orsweb.com/downloads/source/282.html

also the first one, i and another buddy has posted the same link twice. sorry for the trouble friend.

regards
annamalai
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.