Edi Yanto (何 萬 新)

Dynamic SQL with BULK COLLECT INTO Clause

Posted on: May 25, 2007

Bulk SQL passes entire collections back and forth, not just individual elements. This technique improves performance by minimizing the number of context switches between the PL/SQL and SQL engines. You can use a single statement instead of aloop that issues a SQL statement in every iteration.

Bulk binding lets Oracle bind a variable in a SQL statement to a collection of values. The collection type can be any PL/SQL collection type (index-by table, nested table, or varray). The collection elements must have a SQL datatype such as CHAR, DATE, or NUMBER.
You can bind define variables in a dynamic query using the BULK COLLECT INTO clause. As the following example shows, you can use that clause in a bulk FETCH or bulk EXECUTE IMMEDIATE statement:



1 Response to "Dynamic SQL with BULK COLLECT INTO Clause"

i’am asking you about using bulk collect with dynamic sql
thank you gor risponding

best reguards


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 1,377 other followers

Edi Yanto
Oracle Applications Technical Consultant
View Edi Yanto's profile on LinkedIn

My Certifications

Follow me on Twitter


May 2007
« Apr   Jun »

  • Edi Yanto: Hi Afrose, Have you try the smaller size of image? Please look it at https://ediyanto83.wordpress.com/2009/05/21/blob-images-in-xml-publisher/ Thank
  • afrose jahan: Hi Edi, Am using Reports builder 6i to develop my RDF. I need to print an image which i pull from organization item attachments in Oracle SCM. My S
  • Edi Yanto: Hi Dhanya, how can you do it when ran it locally (on Windows) u got the right image? What OS for your EBS instance? If you on Linux/Sun Solaris, you

RSS Unknown Feed

  • An error has occurred; the feed is probably down. Try again later.

RSS Unknown Feed

  • An error has occurred; the feed is probably down. Try again later.



Blog Stats

  • 180,927 hits

Users Online

web counter


%d bloggers like this: