<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=Forall_insert</id>
	<title>Forall insert - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=Forall_insert"/>
	<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=Forall_insert&amp;action=history"/>
	<updated>2026-04-30T11:48:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://www.hacks.be/wiki/index.php?title=Forall_insert&amp;diff=30&amp;oldid=prev</id>
		<title>193.121.160.69: Created page with &quot;Create table containing 100M records: &lt;source lang=&quot;plsql&quot;&gt; create table testtable(id number);  declare   type t_table is table of testtable%rowtype index by binary_integer;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=Forall_insert&amp;diff=30&amp;oldid=prev"/>
		<updated>2016-04-04T10:10:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Create table containing 100M records: &amp;lt;source lang=&amp;quot;plsql&amp;quot;&amp;gt; create table testtable(id number);  declare   type t_table is table of testtable%rowtype index by binary_integer;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Create table containing 100M records:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;plsql&amp;quot;&amp;gt;&lt;br /&gt;
create table testtable(id number);&lt;br /&gt;
&lt;br /&gt;
declare&lt;br /&gt;
  type t_table is table of testtable%rowtype index by binary_integer;&lt;br /&gt;
  t_arr t_table;&lt;br /&gt;
  &lt;br /&gt;
  million number;&lt;br /&gt;
begin&lt;br /&gt;
  for m in 0 .. 99 loop&lt;br /&gt;
    million := m * 1000000;&lt;br /&gt;
    for i in 0 .. 999999 loop&lt;br /&gt;
      t_arr(i).id := million + i;&lt;br /&gt;
    end loop;&lt;br /&gt;
    &lt;br /&gt;
    forall i in t_arr.first .. t_arr.last&lt;br /&gt;
      insert into testtable values t_arr(i);&lt;br /&gt;
&lt;br /&gt;
    commit;&lt;br /&gt;
  end loop;&lt;br /&gt;
end;&lt;br /&gt;
/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>193.121.160.69</name></author>
	</entry>
</feed>