Re: Question insert data

Поиск
Список
Период
Сортировка
От Ragnar Hafstað
Тема Re: Question insert data
Дата
Msg-id 1111255012.7726.1.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Question insert data  (perico@12move.nl)
Ответы Betr: Re: Question insert data  (perico@12move.nl)
Betr: Re: Question insert data  (perico@12move.nl)
Список pgsql-general
On Sat, 2005-03-19 at 18:36 +0100, perico@12move.nl wrote:

> 2. I've create a table based on from the master. I copied a fraction from
> the master into the new table using a where clause (insert into ... select
> * from ... where a = b . The number of records copied is about 2553.
>
> Issueing the same select statement on the master table gives me a list of
> 5106 which is twice the number of copied records.

sounds like you inserted into the master table instead of the new table.
can you show us the exact SQL you used?

or even better, can you make this happen in a simple test case?

gnari



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

Предыдущее
От: perico@12move.nl
Дата:
Сообщение: Question insert data
Следующее
От: "Andrus Moor"
Дата:
Сообщение: How to get concecutive id values