Re: Convert DECIMAL MySql field to PostGre. How?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Convert DECIMAL MySql field to PostGre. How?
Дата
Msg-id 6697.1255275423@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Convert DECIMAL MySql field to PostGre. How?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2009/10/11 Andre Lopes <lopes80andre@gmail.com>:
>> I have designed a database using MySql, but now I decided to move to
>> PostGre. I hava decimal fields with DECIMAL(10,6). How to convert this
>> fields to PostGre?

> use type NUMERIC(10,6)

DECIMAL works just fine too; it's an alias for NUMERIC.

            regards, tom lane

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: What is statement ID of table?
Следующее
От: Jignesh Shah
Дата:
Сообщение: Re: What is statement ID of table?