Re: How to get binary value for an Integer - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: How to get binary value for an Integer
Date
Msg-id Pine.LNX.4.44.0404271451090.26611-100000@matrix.gatewaynet.com
Whole thread Raw
In response to How to get binary value for an Integer  ("kumar" <sgnerd@yahoo.com.sg>)
List 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



pgsql-sql by date:

Previous
From: "kumar"
Date:
Subject: How to get binary value for an Integer
Next
From: Richard Huxton
Date:
Subject: Re: Customised Encoding