Re: [INTERFACES] libpq++ - copy - default values

Поиск
Список
Период
Сортировка
От Viktor A.
Тема Re: [INTERFACES] libpq++ - copy - default values
Дата
Msg-id 00e801be6662$7aa340a0$0200a8c0@Tischrechner.rrz.uni-koeln.de
обсуждение исходный текст
Список pgsql-interfaces
>> My problem is, that I don't know how I can tell the copy-command to
>> leave the first field untouched, so that it gets the default value from a
>> sequence....
>
>You can't.  COPY is for plain verbatim dumping and reloading of data.
>Use INSERT if you need to have any calculations done.

Hmm..Thats what I was afraid of..... I don't have the slightest idea on how
to get the data into that PQExec("INSERT .....") String... Do you know,
where
I can get some sample source on this?

Thanks!
Viktor


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

Предыдущее
От: "Pavel PaJaSoft Janousek"
Дата:
Сообщение: ECPG & 'exec sql connect to' question
Следующее
От: James Thompson
Дата:
Сообщение: Re: [INTERFACES] ECPG & 'exec sql connect to' question