Re: change the last bit

From: Jean-Luc Lachance <jllachan(at)sympatico(dot)ca>
To: homecurr(at)yahoo(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: change the last bit
Date: 2004-07-16 19:34:04
Message-ID: 40F82DAC.5050305@sympatico.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

select a & -2::int4;

homecurr(at)yahoo(dot)com wrote:
> I have a int4 coloumn, and I want to change the last bit the the
> number in this column to 0. How can I do it?
>
> Thanks,
>
> John
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Edwin Quijada 2004-07-16 19:46:08 Re: [pgsql-es-ayuda] Postgres & Suse
Previous Message Bruce Momjian 2004-07-16 19:19:48 Re: moving an installation