Bitwise AND

From: "Choong, Eddie" <ECHOONG(at)analogic(dot)com>
To: "'Vince Vielhaber'" <vev(at)michvhf(dot)com>, The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: Jan Wieck <jwieck(at)debis(dot)com>, hackers(at)postgreSQL(dot)org
Subject: Bitwise AND
Date: 1999-03-09 16:44:06
Message-ID: 95A16FC18111D21196E000A0C955FE0A5AAFD1@peaexch1.analogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)michvhf(dot)com]
Sent: Tuesday, March 09, 1999 11:12 AM
To: The Hermit Hacker
Cc: Jan Wieck; hackers(at)postgreSQL(dot)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 nams associated 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(at)michvhf(dot)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

==========================================================================

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1999-03-09 17:37:55 Re: [HACKERS] Niladic functions
Previous Message Vince Vielhaber 1999-03-09 16:11:46 Re: [HACKERS] Developers globe