Copy column contents

Поиск
Список
Период
Сортировка
От arun kv
Тема Copy column contents
Дата
Msg-id Pine.BSO.4.44.0207241120320.2333-100000@library.iisc.ernet.in
обсуждение исходный текст
Ответы Re: Copy column contents  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-php
hai,
       I have a database table with 8 fields and i want to add a new
column and copy the contents of one column to new column. if i try using
select and insert number of rows is duplicating and insertion is going to
end. how do i insert that contents to same row.

i am getting something like :

title | id | web | email | name
 aaa | 11 | | |
 bbb | 22 | | |
 ccc | | | |
     |    |     |     |aaa|
     |    |     |     |bbb|
     |    |     |     |ccc|


but i want as

title | id | web | email | name
 aaa | 11 | | |aaa|
 bbb | 22 | | |bbb|
 ccc | | | |ccc|


pls can anyone help me how do i go about this updation.


thanks
          Arun


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

Предыдущее
От: qfb10cller@freemail.ru
Дата:
Сообщение: As low as 10 cents on the Dollar! dfw
Следующее
От: Chris
Дата:
Сообщение: Re: Copy column contents