Обсуждение: Bitwise AND

Поиск
Список
Период
Сортировка

Bitwise AND

От
"Choong, Eddie"
Дата:
Hi all,
I am new at this, and I have a simple (to you all) question:

Is there anyway to do a bitwise AND in a SQL statement?

I have a field of type "int4".  If I want to check to see if a certain bit
in the int4 is set or not, How can I do it?

Thanks in advance.

- Eddie Choong
    -----Original Message-----    From:    Vince Vielhaber [mailto:vev@michvhf.com]    Sent:    Tuesday, March 09, 1999
11:12AM    To:    The Hermit Hacker    Cc:    Jan Wieck; hackers@postgreSQL.org    Subject:    Re: [HACKERS] Developers
globe
    On Tue, 9 Mar 1999, The Hermit Hacker wrote:
    > On Tue, 9 Mar 1999, Jan Wieck wrote:    >     > > Marc G. Fournier wrote:    > >     > > > You don't really need
namsassociated iwth the dots,
 
just make the dots    > > > reasonably accurate...put a long/lat beside each name
in the list, and    > > > country or whatnot...    > >     > >     Alternatively  you  might  put  a  map behind it
and
use some    > >     Jscript to write the names into  the  status  line
when  the    > >     pointer is over the dots.    >     > Oh, I like that one...anyone know Javascript? :)
    yep.  Anyone know of a tool in unix that splits up a gif
into many    smaller squares (as opposed to manually cropping)?
    Vince.    -- 
==========================================================================    Vince Vielhaber -- KA8CSH   email:
vev@michvhf.com
flame-mail: /dev/null           # include <std/disclaimers.h>
TEAM-OS2            Online Campground Directory
http://www.camping-usa.com           Online Giftshop Superstore
http://www.cloudninegifts.com
==========================================================================