Re: remove $ from money field

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove $ from money field
Дата
Msg-id 2977.1060398808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на remove $ from money field  (Robby Russell <rrussell@commandprompt.com>)
Список pgsql-general
Robby Russell <rrussell@commandprompt.com> writes:
> When selecting a field that is of type money, how can I remove the $
> when selected?

Actually, almost the only thing money does for you is put in the $ sign
;-).  I'd recommend using type numeric instead, if you have any desire
for more flexibility.

            regards, tom lane

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

Предыдущее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: One table in two different databases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Random via Subselect or Temporary Table