From: | Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz> |
---|---|
To: | "Gary MacMinn" <G(dot)MacMinn(at)nca(dot)gov(dot)au>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Merging two columns into one |
Date: | 2000-06-23 05:10:38 |
Message-ID: | 00062317123201.15938@berty |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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 <<--
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-06-23 05:47:26 | Re: Using substr with user defined types |
Previous Message | Gary MacMinn | 2000-06-23 03:04:59 | Merging two columns into one |