Re: Normalising an existing table - how?

Поиск
Список
Период
Сортировка
От Graham Leggett
Тема Re: Normalising an existing table - how?
Дата
Msg-id 40DB4B64.5080101@sharp.fm
обсуждение исходный текст
Ответ на Re: Normalising an existing table - how?  (Frank Bax <fbax@sympatico.ca>)
Ответы Re: Normalising an existing table - how?
Список pgsql-sql
Frank Bax wrote:

> Do all three steps in one command:
> 
> create table newtable as (select key1, key2, money from oldtable);

How would I put the primary key of each row in newtable back into 
oldtable? Also, newtable already exists and contains data - I need to 
add normalised data to an already partially normalised database.

Regards,
Graham
--


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

Предыдущее
От: Graham Leggett
Дата:
Сообщение: Re: Normalising an existing table - how?
Следующее
От: Geoffrey
Дата:
Сообщение: Re: feature request ?