Re: Cursor Issue??

Поиск
Список
Период
Сортировка
От DracKewl
Тема Re: Cursor Issue??
Дата
Msg-id 1122425415.117586.36370@f14g2000cwb.googlegroups.com
обсуждение исходный текст
Ответ на Cursor Issue??  ("DracKewl" <bradbudge@hotmail.com>)
Список pgsql-general
Here is a further test:

------------------------------------------------------
BEGIN WORK;
DECLARE cursor1 CURSOR FOR SELECT * FROM PARTS;
FETCH FIRST IN cursor1;
INSERT INTO partstemp VALUES (PARTS.QTY, PARTS.LENGTH, PARTS.WIDTH);
CLOSE cursor1;
COMMIT WORK;
------------------------------------------------------

What I get is the whole table put into partstemp.  I just wanted the
one row???
One more question what is the difference between using the term IN vs.
FROM?


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