Обсуждение: Re: [GENERAL] importing into postgres

Поиск
Список
Период
Сортировка

Re: [GENERAL] importing into postgres

От
lynch@lscorp.com (Richard Lynch)
Дата:
create an import table with no id field, or rather, with a fake field that
will accept whatever you have in the file.

Then, do an:

insert into realTable from select * from importTable;

and let your auto incrementer do its job.

--
--
-- "TANSTAAFL" Rich lynch@lscorp.com