Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Bit logic in SQL - is it possible?

Re: Bit logic in SQL - is it possible?

From: Michel Cadot <micadot_at_netcourrier.com>
Date: 2000/06/07
Message-ID: <8hlu0e$2kuc$1@s2.feed.news.oleane.net>#1/1

There is bitand function:

v734> select bitand(5,3) from dual;

B
-
1

--
Have a nice day
Michel


Adrian Harrison <a_harrison_uk_at_yahoo.co.uk> a écrit dans le message :
k9rsjscm4fvfjno53sg0s9bg279564r66f_at_4ax.com...

> Have a long int field that I want to test if individual bits are set i.e
>
> SELECT farm_code from nvz_visits_history where farm_type and 5;
>
> Doesn't like it - is it possible to do?
>
> Thanks
>
> Adrian Harrison
>
Received on Wed Jun 07 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US