pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ronnie Doggart <rdoggart@netcomuk.co.uk>
To: pgsql-sql@postgresql.org
Subject: Help with setting up table and importing data.
Date: Wed, 02 Sep 1998 16:48:23 +0000
Message-ID: <35ED76D6.53ABF841@netcomuk.co.uk> (raw)

Hi All,

I am new to using Postgresql but use Oracle in work.

I want to set up a table with four fields, such as part-number,
description, cost, status. The cost field is the only numeric field. I
want to import the data to the table from a file which has the cost
stored as 73400 which represents $734.00, the decimal is implied. How
can I load this into a table where I have defined cost to be of type
money.

Regards
Ronnie Doggart




Message-ID: <35ED76D6.53ABF841@netcomuk.co.uk>
Permalink:  ../35ED76D6.53ABF841@netcomuk.co.uk/
Also on:    postgresql.org/message-id/35ED76D6.53ABF841@netcomuk.co.uk

 · 

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-sql@postgresql.org
  Cc: rdoggart@netcomuk.co.uk
  Subject: Re: Help with setting up table and importing data.
  In-Reply-To: <35ED76D6.53ABF841@netcomuk.co.uk>
  References: <35ED76D6.53ABF841@netcomuk.co.uk>

* 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