parsing a string with a hexadecimal notation

From: KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at>
To: pgsql-sql(at)postgresql(dot)org
Subject: parsing a string with a hexadecimal notation
Date: 2005-02-09 11:01:31
Message-ID: ED4E30DD9C43D5118DFB00508BBBA76EB165B4@neptun.sonorys.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I intend to retrieve an int value in an integer variable from a string with
a hexadecimal notation of a number.
Which function is appropriate to do
i int4
i = ???('BEAF')

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2005-02-09 13:35:25 Re: parsing a string with a hexadecimal notation
Previous Message drdani 2005-02-09 07:53:39 copy rows