Re: embedded SQL cursos declare fails

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: embedded SQL cursos declare fails
Дата
Msg-id 20010619084355.B1497@feivel.credativ.de
обсуждение исходный текст
Ответ на embedded SQL cursos declare fails  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Ответы Re: embedded SQL cursos declare fails  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Список pgsql-general
On Mon, Jun 18, 2001 at 03:59:56PM -0400, Thalis A. Kalfigopoulos wrote:
> EXEC SQL DECLARE my_cursor CURSOR FOR SELECT a,b FROM lala WHERE a= :i;
> EXEC SQL FETCH FORWARD NEXT FROM my_cursor INTO :tmpa,:tmpb;

Is there an EXEC SQL OPEN CURSOR my_cursor in between these lines?

> I check the .c file generated by ecpg and the cursor declaration is commented out :-(

That's correct. It's placed at the OPEN spot.

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Namrata
Дата:
Сообщение: Alternate Database Location.
Следующее
От: "Itzinger, Oskar"
Дата:
Сообщение: [Help] Temporary Table: Implicitely created index not shown in \d i