<?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/"
		>
<channel>
	<title>Comments on: Dynamic SQL Pivoting &#8211; Stealing Anton&#8217;s Thunder</title>
	<atom:link href="http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=dynamic-sql-pivoting-stealing-antons-thunder</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: srilag</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3313</link>
		<dc:creator>srilag</dc:creator>
		<pubDate>Mon, 21 Nov 2011 09:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3313</guid>
		<description><![CDATA[i hav a table of this format:

IdÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Descrip.
1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3
2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3
3Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3

i want the output as :

IdÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Descrip.

1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1
 note2
 note3

2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1
 note2
 note3]]></description>
		<content:encoded><![CDATA[<p>i hav a table of this format:</p>
<p>IdÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Descrip.<br />
1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3<br />
2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3<br />
3Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1 note2 note3</p>
<p>i want the output as :</p>
<p>IdÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Descrip.</p>
<p>1Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1<br />
 note2<br />
 note3</p>
<p>2Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  note1<br />
 note2<br />
 note3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: satya</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3312</link>
		<dc:creator>satya</dc:creator>
		<pubDate>Tue, 08 Nov 2011 14:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3312</guid>
		<description><![CDATA[Hi,

Many thanks for this excellent code, whenÂ i am Â using this codeÂ with storedproc following error is showing

PL/SQL: ORA-22905: cannot access rows from a non-nested table item

OPEN porec_rpt FOR
Â Â Â Â Â  SELECT *
Â Â Â Â Â Â Â  FROM TABLE
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  (pivot
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  (Â Â  &#039;select * from document&#039;
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  )
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  );

could you please help

Regards]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Many thanks for this excellent code, whenÂ i am Â using this codeÂ with storedproc following error is showing</p>
<p>PL/SQL: ORA-22905: cannot access rows from a non-nested table item</p>
<p>OPEN porec_rpt FOR<br />
Â Â Â Â Â  SELECT *<br />
Â Â Â Â Â Â Â  FROM TABLE<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  (pivot<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  (Â Â  &#8216;select * from document&#8217;<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  )<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  );</p>
<p>could you please help</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenka</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3311</link>
		<dc:creator>Svenka</dc:creator>
		<pubDate>Tue, 01 Nov 2011 18:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3311</guid>
		<description><![CDATA[ORDER BY clause in passed query is not being executed. Any ideas why?]]></description>
		<content:encoded><![CDATA[<p>ORDER BY clause in passed query is not being executed. Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olu</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3310</link>
		<dc:creator>Olu</dc:creator>
		<pubDate>Thu, 27 Oct 2011 16:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3310</guid>
		<description><![CDATA[Hi,
Many thanksÂ for this fantastic piece of work
Â I got the same ORA-29913: error in executing ODCITABLEDESCRIBE calloutâ€™ err. How may i resolve this.
With best wishes
Olu]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Many thanksÂ for this fantastic piece of work<br />
Â I got the same ORA-29913: error in executing ODCITABLEDESCRIBE calloutâ€™ err. How may i resolve this.<br />
With best wishes<br />
Olu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kannan</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3309</link>
		<dc:creator>Kannan</dc:creator>
		<pubDate>Sat, 20 Aug 2011 21:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3309</guid>
		<description><![CDATA[This is a brilliant piece conceptual explanation and code. Â I had a similar Â context about , delivering an output of Â an arbitrary sql string , using parallel pipelined Â functions which accepts a character string as input. I had a tough time to make it parallel as the plsql syntax more or less demanded an input ref cursor for the parallel operation to click , and I had to give it up.]]></description>
		<content:encoded><![CDATA[<p>This is a brilliant piece conceptual explanation and code. Â I had a similar Â context about , delivering an output of Â an arbitrary sql string , using parallel pipelined Â functions which accepts a character string as input. I had a tough time to make it parallel as the plsql syntax more or less demanded an input ref cursor for the parallel operation to click , and I had to give it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3308</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Thu, 11 Aug 2011 15:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3308</guid>
		<description><![CDATA[Did you ever figure out the issue with not picking up new column values?]]></description>
		<content:encoded><![CDATA[<p>Did you ever figure out the issue with not picking up new column values?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DB</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3307</link>
		<dc:creator>DB</dc:creator>
		<pubDate>Wed, 21 Oct 2009 07:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3307</guid>
		<description><![CDATA[Great work guys! I used it and it helped a lot..
I got the same ORA-29913: error in executing ODCITABLEDESCRIBE calloutâ€™ err,
after digging in a bit I saw it is sensitive to reserved oracle words in the pivot column (the n-1 column). when I changed &#039;user&#039; and &#039;rowid&#039; values into &#039;username&#039; and &#039;row_id&#039; it worked fine.
another thing regarding that n-1 pivot column - can&#039;t extend beyond 30 chars or it will pop the &quot;invalid ... &quot; err.

after fixing those two all I was left with was admiring your nice work.]]></description>
		<content:encoded><![CDATA[<p>Great work guys! I used it and it helped a lot..<br />
I got the same ORA-29913: error in executing ODCITABLEDESCRIBE calloutâ€™ err,<br />
after digging in a bit I saw it is sensitive to reserved oracle words in the pivot column (the n-1 column). when I changed &#8216;user&#8217; and &#8216;rowid&#8217; values into &#8216;username&#8217; and &#8216;row_id&#8217; it worked fine.<br />
another thing regarding that n-1 pivot column &#8211; can&#8217;t extend beyond 30 chars or it will pop the &#8220;invalid &#8230; &#8221; err.</p>
<p>after fixing those two all I was left with was admiring your nice work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KT</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3306</link>
		<dc:creator>KT</dc:creator>
		<pubDate>Tue, 18 Aug 2009 05:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3306</guid>
		<description><![CDATA[Hi,
I tried implementing the code.Even after creating the type PIVOTIMPL,when I run the select statement,i get an error message that PIVOTIMPL is not declared.
Any inputs what could be the reason?]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I tried implementing the code.Even after creating the type PIVOTIMPL,when I run the select statement,i get an error message that PIVOTIMPL is not declared.<br />
Any inputs what could be the reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SUdarshan</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3305</link>
		<dc:creator>SUdarshan</dc:creator>
		<pubDate>Wed, 28 Nov 2007 21:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3305</guid>
		<description><![CDATA[I get the error &quot;PLS-00302 SETUROWID must be declared&quot;

when dbms_types.typecode_urowid then
            dbms_sql.column_value( self.cur, i, ur1 );
            outset.seturowid( ur1 );]]></description>
		<content:encoded><![CDATA[<p>I get the error &#8220;PLS-00302 SETUROWID must be declared&#8221;</p>
<p>when dbms_types.typecode_urowid then<br />
            dbms_sql.column_value( self.cur, i, ur1 );<br />
            outset.seturowid( ur1 );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Sinke</title>
		<link>http://technology.amis.nl/2006/05/24/dynamic-sql-pivoting-stealing-antons-thunder/#comment-3304</link>
		<dc:creator>Patrick Sinke</dc:creator>
		<pubDate>Mon, 25 Jun 2007 15:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1207#comment-3304</guid>
		<description><![CDATA[For all you people experiencing problems with the ODCITABLEDESCRIBE callout, you might want to check two things. The number columns are quite strict: a column for the vertical axis, a column for the horizontal axis, and a third one for the result values.
Secondly, I haven&#039;t found a way to parametize the query results, e.g. concatenating a parameter in the query. If you stick to that, it works like a charm!]]></description>
		<content:encoded><![CDATA[<p>For all you people experiencing problems with the ODCITABLEDESCRIBE callout, you might want to check two things. The number columns are quite strict: a column for the vertical axis, a column for the horizontal axis, and a third one for the result values.<br />
Secondly, I haven&#8217;t found a way to parametize the query results, e.g. concatenating a parameter in the query. If you stick to that, it works like a charm!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
