Re: Hex to Number conversion

From: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Hex to Number conversion
Date: 2017-08-27 07:25:46
Message-ID: 7d3691eb-22f2-8a72-a900-ac957522e44d@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Am 27.08.2017 um 07:28 schrieb anand086:
> How can I achieve the same in postgres.

test=*# select x'1fcd'::int;
int4
------
8141
(1 Zeile)

Regards, Andreas

--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message anand086 2017-08-28 23:49:37 Function Code
Previous Message anand086 2017-08-27 05:28:59 Hex to Number conversion