Re: Duplicated tables of certain columns

Поиск
Список
Период
Сортировка
От Vibhor Kumar
Тема Re: Duplicated tables of certain columns
Дата
Msg-id 4F3E2293-BEDB-4417-AD54-0049A64D8CD4@enterprisedb.com
обсуждение исходный текст
Ответ на Duplicated tables of certain columns  (Yan Cheng CHEOK <yccheok@yahoo.com>)
Список pgsql-general
On Feb 21, 2011, at 1:39 PM, Yan Cheng CHEOK wrote:

> INSERT INTO backup_table SELECT * FROM unit_11 WHERE status = 1;



You can try something like,
INSERT INTO backup_table select unit_id, 99, status, value from unit_11 where status=1;


Thanks & Regards,
Vibhor Kumar
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Cell: +91-932-568-2279
vibhor.kumar@enterprisedb.com
Blog:http://vibhork.blogspot.com


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

Предыдущее
От: Yan Cheng CHEOK
Дата:
Сообщение: Duplicated tables of certain columns
Следующее
От: Vibhor Kumar
Дата:
Сообщение: Re: Schema Archive cant find table