pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Clark <matt@ymogen.net>
To: cgg007@yahoo.com
To: Harald Fuchs <hf118@protecting.net>
To: pgsql-admin@postgresql.org
Subject: Re: Alternative to "Money" ...
Date: Tue, 3 Feb 2004 14:42:40 -0000
Message-ID: <OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net> (raw)
In-Reply-To: <20040203141733.80158.qmail@web13805.mail.yahoo.com>

> .. 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




view thread (10+ messages)  latest in thread

Message-ID: <OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net>
Permalink:  ../OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net/
Also on:    postgresql.org/message-id/OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: matt@ymogen.net, cgg007@yahoo.com, hf118@protecting.net
  Subject: Re: Alternative to "Money" ...
  In-Reply-To: <OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net>
  References: <20040203141733.80158.qmail@web13805.mail.yahoo.com> <OAEAKHEHCMLBLIDGAFELAEECEJAA.matt@ymogen.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox