Re: numeric formats in SELECT

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: numeric formats in SELECT
Дата
Msg-id Pine.LNX.4.33.0307010648120.16127-100000@css120.ihs.com
обсуждение исходный текст
Ответ на numeric formats in SELECT  (javier garcia - CEBAS <rn001@cebas.csic.es>)
Список pgsql-general
On Tue, 1 Jul 2003, javier garcia - CEBAS wrote:

> Hi all;
> I've got a table with real type data. And, in the SELECT, some of the columns
> are displayed in scientific format. I don't like this, and I would prefer
> that the number were shown with two decimal digits.
> Is this possible?

Does something like this work?:

select realcolumn::numeric(10,2) from table;


В списке pgsql-general по дате отправления:

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: 2 different versions of postgres on the same system
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Cannot create unique index