DATA TYPE CONVERTION

From: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: DATA TYPE CONVERTION
Date: 2009-05-04 22:21:49
Message-ID: f03943a00905041521u22f173e1o1e6daf9222bbd32d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is it possible to convert a numeric value to string within a SELECT query
statement?
For example, let's say that I have a table with a numeric field named
"quantity". A normal SELECT would be "SELECT quantity FROM tblOrders". What
if I want the value returned by the SELECT clause to be of type string
instead of decimal?

Regards,
Jorge Maldonado

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Adam Ruth 2009-05-04 22:43:06 Re: DATA TYPE CONVERTION
Previous Message Adam Ruth 2009-05-04 20:57:58 Re: hi