Re: Recommended Protocol: Adding Rows to Table

Поиск
Список
Период
Сортировка
Искать
От
Rich Shepard
Тема
Re: Recommended Protocol: Adding Rows to Table
Дата
Msg-id
alpine.LNX.2.00.1111251207330.15652@salmo.appl-ecosys.com
Ответ на
Список
Дерево обсуждения
Recommended Protocol: Adding Rows to Table Rich Shepard <rshepard@appl-ecosys.com>
Re: Recommended Protocol: Adding Rows to Table David Johnston <polobo@yahoo.com>
Re: Recommended Protocol: Adding Rows to Table Rich Shepard <rshepard@appl-ecosys.com>
Re: Recommended Protocol: Adding Rows to Table Adrian Klaver <adrian.klaver@gmail.com>
Re: Recommended Protocol: Adding Rows to Table Scott Mead <scottm@openscg.com>
Re: Recommended Protocol: Adding Rows to Table Rich Shepard <rshepard@appl-ecosys.com>
On Fri, 25 Nov 2011, Scott Mead wrote:

> Why don't you first load the data into a table (no primary key), then use
> SQL to find your dups?
>
> once loaded:
>  SELECT , count(1) from  group by 1 having
> count(1) > 1;
>
> At least then, you'll really know what you're in for.  You can either
> script a DELETE or... whatever you want to do, once clean, you can add the
> PK.

Scott,

   I'll do this. First I need to find why 2 rows (of 143260) are not in the
table after reading the source file. I have those 2 rows somewhat isolated
as one's in the third quarter of the file and one in the fourth quarter.

Thanks,

Rich

В списке pgsql-general по дате отправления
От: Thom Brown
Дата:
Сообщение: Re: .dmp files in postgresql
От: Alpha Beta
Дата:
Сообщение: Re: .dmp files in postgresql
FAQ