Re: Merging two columns into one

Поиск
Список
Период
Сортировка
От Christopher Sawtell
Тема Re: Merging two columns into one
Дата
Msg-id 00062317123201.15938@berty
обсуждение исходный текст
Ответ на Merging two columns into one  ("Gary MacMinn" <G.MacMinn@nca.gov.au>)
Ответы Re: Merging two columns into one  ("Oliver Elphick" <olly@lfix.co.uk>)
Список 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 4451ICQ UIN    45863470EMAIL      chris @
iopen. co . nz,  csawtell @ xtra . co . nzWWW        http://www.iopen.co.nzCNOTES
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 <<--



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

Предыдущее
От: "Gary MacMinn"
Дата:
Сообщение: Merging two columns into one
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using substr with user defined types