🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.delphi.bazy-danych
3 messages
3 total messages Started by Piotr Fri, 05 Sep 2014 07:50
Oracle Kursory
#82325
Author: Piotr
Date: Fri, 05 Sep 2014 07:50
9 lines
1245 bytes
Witam, mam procedurę w PL/SQL która zwraca kursor (sys_refcursor)

procedure GetList(ID number, KIND varchar2, IO_CURSOR out sys_refcursor) as

Jak użyć tego kursora w Delphi żeby przejść po nim i pobrać wartości? 
Próbowałem storedproc (3 parametry) ale wywala mi Access Violation po 
wywołaniu Open.

Piotr. 
Re: Oracle Kursory
#82326
Author: Adam Siwoń
Date: Fri, 05 Sep 2014 08:29
15 lines
1711 bytes
W dniu 2014-09-05 09:50, Piotr pisze:
> Witam, mam procedurę w PL/SQL która zwraca kursor (sys_refcursor)
>
> procedure GetList(ID number, KIND varchar2, IO_CURSOR out sys_refcursor) as
>
> Jak użyć tego kursora w Delphi żeby przejść po nim i pobrać wartości?
> Próbowałem storedproc (3 parametry) ale wywala mi Access Violation po
> wywołaniu Open.

To jeszcze napisz jakich komponentów do obsługi bazy danych używasz po 
stronie Delphi.

-- 
z pozdrowieniami
Adam Siwoń
Re: Oracle Kursory
#82327
Author: Piotr
Date: Fri, 05 Sep 2014 14:00
24 lines
1703 bytes
Starych - DBExpress



Piotr.
"Adam Siwoń"  wrote in message 
news:54097452$0$2236$65785112@news.neostrada.pl...

W dniu 2014-09-05 09:50, Piotr pisze:
> Witam, mam procedurę w PL/SQL która zwraca kursor (sys_refcursor)
>
> procedure GetList(ID number, KIND varchar2, IO_CURSOR out sys_refcursor) 
> as
>
> Jak użyć tego kursora w Delphi żeby przejść po nim i pobrać wartości?
> Próbowałem storedproc (3 parametry) ale wywala mi Access Violation po
> wywołaniu Open.

To jeszcze napisz jakich komponentów do obsługi bazy danych używasz po
stronie Delphi.

-- 
z pozdrowieniami
Adam Siwoń 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads