FETCH / ecpg

Поиск
Список
Период
Сортировка
От Johan Geuze
Тема FETCH / ecpg
Дата
Msg-id 374AD590.278F8932@xs4all.nl
обсуждение исходный текст
Список pgsql-interfaces
i'm having trouble with FETCH and ecpg..

I just get an compile error on this line

   EXEC SQL BEGIN WORK;   EXEC SQL DECLARE cursxxx CURSOR FOR       SELECT nr, xpos, ypos       INTO :ster, :xpos,
:ypos      FROM stars;
 

-> EXEC SQL FETCH all in cursxxx;    EXEC SQL CLOSE cursxxx;    EXEC SQL COMMIT;

i know this should work.. at least on a informix database..

The man for fetch tells me the same..

what am i doing wrong?

or is this option not supported for enbedded sql in c..?

plz help!

Johan Geuze



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

Предыдущее
От: tperry@grumpy.it.as.ex.state.ut.us
Дата:
Сообщение: ...
Следующее
От: Craig Orsinger
Дата:
Сообщение: Re: [INTERFACES] ECPG feature