Re: retun cursor
От | Jan Wieck |
---|---|
Тема | Re: retun cursor |
Дата | |
Msg-id | 200204081322.g38DM9T12110@saturn.janwieck.net обсуждение исходный текст |
Ответ на | Re: retun cursor (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
Список | pgsql-general |
Stephan Szabo wrote: > > On Thu, 6 Apr 2000, Madhavi Daroor wrote: > > > Hi, > > I have tried the method you have suggested. And everytime I try to access > > the function in which the refcursor is kept open, the only output I get is > > "UNNAMED CURSOR" instead of the selected fields in the cursor. > > Right. You get a cursor name that you can fetch from, if you're in a > transaction, after you select from the function, say it returns > "unnamed cursor 1", IIRC you can do, > > fetch 10 from "unnamed cursor 1"; Should be "<unnamed cursor 1>" if memory serves. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #
В списке pgsql-general по дате отправления: