using Replace funcion in postgresql

From: karinos57 <karinos57(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: using Replace funcion in postgresql
Date: 2013-09-16 23:55:52
Message-ID: 1379375752969-5771164.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SELECT
Volume, REPLACE(Volume,'.','')
FROM MyTable

The data in my table looks like this:

88.97
448.58 and etc

i want to show like this with out the period:

8897
44858

I have tried to use different ways but still getting the error i hope
someone out there can help me. How can i achieve this? thanks

--
View this message in context: http://postgresql.1045698.n5.nabble.com/using-Replace-funcion-in-postgresql-tp5771164.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Tanzer 2013-09-17 00:32:05 Why does this array query fail?
Previous Message NWRFC Portland 2013-09-16 20:40:15 Re: Postgres 9.2.4 "Double Precision" Precision