Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Bulk bind in Native Dynamic SQL
As I should in my other e-mail, you can still use "bulk collect" with
dynamic sql prior to 9i.
What you can't do, is analyze sql%notfound, or sql%rowcount, etc.
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
> From Note: Note:220802.1
>
> Dynamic sql and bulk operations are not supported together until 9i. Only
> static sql is supported with bulk operations.
>
> -----Original Message-----
> Sent: Thursday, April 17, 2003 1:58 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Does anyone have a solution to bulk binding in Native Dynamic sql?
>
> I'm currently using an Open For Using statement which seems to nullify any
> possibility of using bulk collect in the fetch statement. Listed below is
a
> valid and invalid fetch statement. Is there a way of using bulk binding in
> the 2nd scenario listed below?
>
> Valid - Non Bulk collection fetch
> open cur for <dynamic statement>
> loop
> fetch oid into l_oid;
> exit when sql%notfound;
> <process other code>
> end loop;
>
>
> Invalid - Bulk collection fetch
> open cur for <dynamic statement>
> loop
> fetch oid bulk collect into <IOT>;
> exit when sql%notfound;
> <process other code>
> end loop;
>
>
>
> Thank you,
>
> Mark
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Mark Moynahan
> INET: Mark.Moynahan_at_apollogrp.edu
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: Khedr, Waleed
> INET: Waleed.Khedr_at_FMR.COM
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Igor Neyman INET: ineyman_at_perceptron.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Apr 17 2003 - 14:26:52 CDT
![]() |
![]() |