Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

"Bitwise" operators?

Posted on 2004-08-12
6
4,451 Views
Last Modified: 2011-08-18
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?
0
Comment
Question by:WernerVonBraun
6 Comments
 
LVL 4

Author Comment

by:WernerVonBraun
ID: 11782375
Solutions in Oracle 8 compliant SQL please. That's our customers' lowest common denominator ...
0
 
LVL 6

Accepted Solution

by:
morphman earned 25 total points
ID: 11782485
0
 
LVL 8

Assisted Solution

by:annamalai77
annamalai77 earned 25 total points
ID: 11782496
hi

check the link below

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

regards
annamalai
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

Author Comment

by:WernerVonBraun
ID: 11782567
0
 
LVL 8

Expert Comment

by:annamalai77
ID: 11782642
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
 
LVL 48

Expert Comment

by:schwertner
ID: 11783282
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle - SQL Parse String 5 45
SQL Developer 6 60
migration MS SQL database to Oracle 30 68
Need SQL Query to Find Foreign-keys Without Indexed Columns 4 25
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question