pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: How to get binary value for an Integer
2+ messages / 2 participants
[nested] [flat]

* Re: How to get binary value for an Integer
@ 2004-04-27 11:51  Achilleus Mantzios <achill@matrix.gatewaynet.com>
  parent: kumar <sgnerd@yahoo.com.sg>
  0 siblings, 0 replies; 2+ messages in thread

From: Achilleus Mantzios @ 2004-04-27 11:51 UTC (permalink / raw)
  To: kumar <sgnerd@yahoo.com.sg>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* How to get binary value for an Integer
@ 2004-04-27 12:26  kumar <sgnerd@yahoo.com.sg>
  0 siblings, 1 reply; 2+ messages in thread

From: kumar @ 2004-04-27 12:26 UTC (permalink / raw)
  To: pgsql-sql

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.

Thanks
kumar

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-04-27 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-04-27 12:26 How to get binary value for an Integer kumar <sgnerd@yahoo.com.sg>
2004-04-27 11:51 ` Achilleus Mantzios <achill@matrix.gatewaynet.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox