Re: Alternative to "Money" ...

Поиск
Список
Период
Сортировка
От Matt Clark
Тема Re: Alternative to "Money" ...
Дата
Msg-id OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net
обсуждение исходный текст
Ответ на Re: Alternative to "Money" ...  (Chris Gamache <cgg007@yahoo.com>)
Ответы Re: Alternative to "Money" ...  (Chris Gamache <cgg007@yahoo.com>)
Список pgsql-admin
> .. I can't _quite_ tell if you're serious or not ... :)
>
> If you are serious, are you saying to do something like:
>
> CREATE TABLE new_money (product text, dollars int4, cents int4);

Ha :-)  That would not be serious.  I'm pretty sure he meant to just store the product cost in cents instead of
dollars,e.g. 

> CREATE TABLE new_money (product text, cents int4);
> INSERT INTO new_money (product, cents) values ('Flowbee','1995');
> INSERT INTO new_money (product, cents) values ('Garth Brooks\'s
> Greatest Hits','999');

M


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

Предыдущее
От: Chris Gamache
Дата:
Сообщение: Re: Alternative to "Money" ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump privileges