Re: How to get binary value for an Integer

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: kumar <sgnerd(at)yahoo(dot)com(dot)sg>
Cc: pgsql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How to get binary value for an Integer
Date: 2004-04-27 11:51:54
Message-ID: Pine.LNX.4.44.0404271451090.26611-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

O kyrios kumar egrapse stis Apr 27, 2004 :

> Dear Friends,
>
> I am using postgres 7.3.2. I wanna get the binary value of number 65536. Is there anyway to get that postgres functions.

SELECT 65536::bit(32);

(assuming you have in mind a 32 bit arch).

>
> Thanks
> kumar
>

--
-Achilleus

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2004-04-27 12:06:42 Re: Proper SQL syntax requested
Previous Message Paul Thomas 2004-04-27 11:42:13 Re: Performance issue