Re: [INTERFACES] esql\c documentation

Поиск
Список
Период
Сортировка
От Ivo Simicevic
Тема Re: [INTERFACES] esql\c documentation
Дата
Msg-id 19990614133421.A10311@ultra.hr
обсуждение исходный текст
Ответ на esql\c documentation  ("Brent Waldrop" <waldrop_brent@hotmail.com>)
Список pgsql-interfaces
On Sun, Jun 13, 1999 at 07:24:52PM -0500, Brent Waldrop wrote:
> EXEC SQL declare democursor cursor for
>  select fname,lname
>  into :fname, :lname
>  from employee
> where lname < :oneline;
> ---it bombs at the line with "into" in it saying there is a parse error

You don't use INTO clause in DECLARE section. 
You have to place in into             EXEC SQL FETCH IN democursor             INTO :fname, :lname
> and when i do this EXEC SQL fetch democursor;
> --it tells me that there is another parse error on this line
See above.

GL, Ivo.


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

Предыдущее
От: "ole-jorgen.bjerve"
Дата:
Сообщение: ...
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] esql\c documentation