From: Christopher Sawtell <csawtell@xtra.co.nz>
To: Gary MacMinn <G.MacMinn@nca.gov.au>
To: pgsql-sql@postgresql.org
Subject: Re: Merging two columns into one
Date: Fri, 23 Jun 2000 17:10:38 +1200
Message-ID: <00062317123201.15938@berty> (raw)
In-Reply-To: <s9536097.001@syd_aux.nca.gov.au>
References: <s9536097.001@syd_aux.nca.gov.au>
On Fri, 23 Jun 2000, Gary MacMinn wrote:
> Hi All,
>
> I have two columns in a table (areacode and phone number) that I'd like to merge
into one (phone number) containing both sets of info. Could anyone suggest a
simple way of achieving this?
export the data to a file using the copy command,
remove the delimiter with the unix command 'tr -d'
import the file, now minus the delimeter using the copy command.
--
Sincerely etc.,
NAME Christopher Sawtell - iOpen Technologies Ltd.
CELL PHONE 021 257 4451
ICQ UIN 45863470
EMAIL chris @ iopen . co . nz, csawtell @ xtra . co . nz
WWW http://www.iopen.co.nz
CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz
-->> Please refrain from using HTML or WORD attachments in e-mails to me <<--
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: csawtell@xtra.co.nz, G.MacMinn@nca.gov.au
Subject: Re: Merging two columns into one
In-Reply-To: <00062317123201.15938@berty>
References: <s9536097.001@syd_aux.nca.gov.au> <00062317123201.15938@berty>
* 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