Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bitwise comparison

Status
Not open for further replies.

dwhalen

Programmer
Feb 22, 2002
105
CA
Hey,

I am trying to convert my web application from Postgresql to oracle....want to give the clients an option. Anyway, amoung the many differences in sql, I am wondering if there is a way to do bitwise comparision in oracle. This is the query I use in postgresqlS:

Code:
SELECT actor_id 
FROM actor_preferences, user_bitmasks 
WHERE user_bitmasks.name like 'Entry' AND atp_user_mask ~ user_bitmasks.bitmask

Thanks for the help.

Hope I was clear

Later
 
Thanks for the replies....they saved my butt.
Works great :)


Later
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top