Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Nested Cursor
яХКЮМРЭЕБ ю.б. <silantiev_at_bashkortostan.ru> сообщил в новостях
следующее:9hrjjj$ise$1_at_poikc.bashnet.ru...
>
> Bala <kmbase_at_usa.net> ЯННАЫХК Б МНБНЯРЪУ
> ЯКЕДСЧЫЕЕ:7d52c6a5.0106280138.d4f83a5_at_posting.google.com...
> > Hi,
> > Is it possible to have a nested cursor. That is
> > for instance, while declaring the first cursor i
> > will issue a select statement. And while looping
> > this cursor and based on the value of some columns
> > returned by this cursor is it possible to built
> > another cursor.If so,will u give me sample code.
> > Thanks in advance
> >
> > Regards,
> > Bala
>
You can to use subcursors with parameters: CURSOR cursor_name [(parameter[, parameter]...)]
IS select_statement;
see the PL/SQL User's Guide and Reference
Alexander Received on Sat Jul 21 2001 - 16:23:25 CDT
![]() |
![]() |