<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: &#9733; When The Combination of an Oracle Sequence and a PLS_INTEGER is Deadly</title>
	<atom:link href="http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Mon, 21 May 2012 00:26:47 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Kamrul</title>
		<link>http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/comment-page-1/#comment-50165</link>
		<dc:creator>Kamrul</dc:creator>
		<pubDate>Wed, 15 Nov 2006 06:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/#comment-50165</guid>
		<description>&lt;p&gt;i am getting this ora-01426 for my following code&lt;/p&gt;

&lt;p&gt;CREATE OR REPLACE procedure WHDATA is
begin
declare
  v_counter number;
  begin
for rec in (select RECHARGEVALUE,ARRIVALDATE,STARTSERIALNR, ENDSERIALNR from wh_voucher_summary) loop
  for v_counter in rec.STARTSERIALNR..rec.ENDSERIALNR loop
    insert into dummy values(v_counter);
    end loop;
end loop;
end;
end;&lt;/p&gt;

&lt;p&gt;--the value of startserialnr =100000000000
--the value of endserialnr =100000099999&lt;/p&gt;

&lt;p&gt;pleasehelp me out of this error&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i am getting this ora-01426 for my following code</p>

<p>CREATE OR REPLACE procedure WHDATA is
begin
declare
  v_counter number;
  begin
for rec in (select RECHARGEVALUE,ARRIVALDATE,STARTSERIALNR, ENDSERIALNR from wh_voucher_summary) loop
  for v_counter in rec.STARTSERIALNR..rec.ENDSERIALNR loop
    insert into dummy values(v_counter);
    end loop;
end loop;
end;
end;</p>

<p>&#8211;the value of startserialnr =100000000000
&#8211;the value of endserialnr =100000099999</p>

<p>pleasehelp me out of this error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/comment-page-1/#comment-32488</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Thu, 27 Jul 2006 19:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/#comment-32488</guid>
		<description>&lt;p&gt;Your .02 is worth a million. Thanks Lewis.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your .02 is worth a million. Thanks Lewis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LewisC</title>
		<link>http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/comment-page-1/#comment-32484</link>
		<dc:creator>LewisC</dc:creator>
		<pubDate>Thu, 27 Jul 2006 19:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/07/27/when-the-combination-of-an-oracle-sequence-and-a-pls_integer-is-deadly/#comment-32484</guid>
		<description>&lt;p&gt;Hi Eddie,&lt;/p&gt;

&lt;p&gt;I think the best solution would have been an to use an anchored declaration and declare mrp_forecast_dates.transaction_id%TYPE.  Then the programmer would have been assured of a proper data type match.&lt;/p&gt;

&lt;p&gt;Just my .02.  heh&lt;/p&gt;

&lt;p&gt;LewisC&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Eddie,</p>

<p>I think the best solution would have been an to use an anchored declaration and declare mrp_forecast_dates.transaction_id%TYPE.  Then the programmer would have been assured of a proper data type match.</p>

<p>Just my .02.  heh</p>

<p>LewisC</p>
]]></content:encoded>
	</item>
</channel>
</rss>

