Re: Hex Integer Input

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Hex Integer Input
Date: 2003-03-11 12:13:28
Message-ID: Pine.LNX.4.44.0303111013170.23176-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, 7 Mar 2003, Joe Conway wrote:

> Achilleus Mantzios wrote:
> > Hi, is there a way to enter integer data by their HEX
> > representation??
> >
>
> Is this what you want?
>
> regression=# select x'ffff'::int4;
> int4
> -------
> 65535
> (1 row)

Sure. Thanx.

>
>
> Joe
>

--
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-210-8981112
fax: +30-210-8981877
email: achill(at)matrix(dot)gatewaynet(dot)com
mantzios(at)softlab(dot)ece(dot)ntua(dot)gr

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-03-11 12:14:30 Re: Hex Integer Input
Previous Message ObjectZ 2003-03-11 08:11:14 Re: Execution plan Question