Re: copy from

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: copy from
Дата
Msg-id Pine.BSF.4.10.10008150933170.86366-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: copy from  ("Adam Lang" <aalang@rutgersinsurance.com>)
Список pgsql-sql
Well, if you define your main table to have a serial, or an explicit
default nextval(seqid), you won't even need to do that.  Just leave
the column off the insert list and the default should fill it for you.

Stephan Szabo
sszabo@bigpanda.com

On Tue, 15 Aug 2000, Adam Lang wrote:

> I get it.  I upload to the temp table, then for the select/insert I just do
> the nextval(seq_id) for the primary key field, correct?



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

Предыдущее
От: Thomas Swan
Дата:
Сообщение: Re: Functions with Null Arguments?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: My Indices doesn't work