<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.6.5" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Oracle 11g: New Pivot Table Feature</title>
	<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Fri,  5 Dec 2008 01:20:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: MARTIN</title>
		<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-304336</link>
		<dc:creator>MARTIN</dc:creator>
		<pubDate>Tue, 25 Nov 2008 11:21:57 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-304336</guid>
		<description>Hello, Can anyone help me? Ive been trying a simple pivot byt just cant get it to work.

* i need the below select statement to have an output as below:
SELECT BGROUP, REFNO, SEQNO, PP02D, PP05P 
FROM  PRESERVED_PENSIONER_HISTORY
WHERE REFNO IN ('0084941','0079500',
'0082833','0094388','0063814','0081368')

*OUTPUT

REFNO      DATE1(PP02D) DATE2(PP02D) 
0084941    PP05P        PP05P
0079500    PP05P        PP05P
0082833    PP05P        PP05P

There are many values for both values PP02D and PP05P.
Any help will be appreciated.</description>
		<content:encoded><![CDATA[<p>Hello, Can anyone help me? Ive been trying a simple pivot byt just cant get it to work.</p>
<p>* i need the below select statement to have an output as below:<br />
SELECT BGROUP, REFNO, SEQNO, PP02D, PP05P<br />
FROM  PRESERVED_PENSIONER_HISTORY<br />
WHERE REFNO IN (&#8217;0084941&#8242;,&#8217;0079500&#8242;,<br />
&#8216;0082833&#8242;,&#8217;0094388&#8242;,&#8217;0063814&#8242;,&#8217;0081368&#8242;)</p>
<p>*OUTPUT</p>
<p>REFNO      DATE1(PP02D) DATE2(PP02D)<br />
0084941    PP05P        PP05P<br />
0079500    PP05P        PP05P<br />
0082833    PP05P        PP05P</p>
<p>There are many values for both values PP02D and PP05P.<br />
Any help will be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathew</title>
		<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-183363</link>
		<dc:creator>Mathew</dc:creator>
		<pubDate>Wed, 23 Apr 2008 04:57:10 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-183363</guid>
		<description>excelent functionality but the usage is very limited with the restriction of  variable value in the pivot section.I dont know why the Orcale more concentrated with XML intsted of providing the functionality in the base noraml SQL.</description>
		<content:encoded><![CDATA[<p>excelent functionality but the usage is very limited with the restriction of  variable value in the pivot section.I dont know why the Orcale more concentrated with XML intsted of providing the functionality in the base noraml SQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pythian Group Blog &#187; Blog Archive &#187; Log Buffer #66: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111915</link>
		<dc:creator>Pythian Group Blog &#187; Blog Archive &#187; Log Buffer #66: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 12 Oct 2007 16:38:38 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111915</guid>
		<description>[...] difference between count(*) and count(1). Also here at home, Robert Hamel gives a bad rating to 11g&#8217;s new pivot table feature. &#8220;I was very pleased when I heard about Oracle adding pivot functionality in select [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] difference between count(*) and count(1). Also here at home, Robert Hamel gives a bad rating to 11g&#8217;s new pivot table feature. &#8220;I was very pleased when I heard about Oracle adding pivot functionality in select [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ghassan</title>
		<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111770</link>
		<dc:creator>ghassan</dc:creator>
		<pubDate>Fri, 12 Oct 2007 08:55:02 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111770</guid>
		<description>Robert,
Doing what you want will not be easy, not only for Oracle, but for the clients: Supporting the sub-query and ANY without XML implies that CBO not only parses the SQL, but also executes the sub-query (or the query if you use ANY) in order to find out how many columns this query returns (it has to know in order to tell the 'client' programs how many columns there are so that they allocate the buffers, ....). A way out would be to augment the SQL with the MAX number of columns the user expects, but this puts much burden on the user, and the system will have to decide what to do in case of ANY surpassing this MAX.</description>
		<content:encoded><![CDATA[<p>Robert,<br />
Doing what you want will not be easy, not only for Oracle, but for the clients: Supporting the sub-query and ANY without XML implies that CBO not only parses the SQL, but also executes the sub-query (or the query if you use ANY) in order to find out how many columns this query returns (it has to know in order to tell the &#8216;client&#8217; programs how many columns there are so that they allocate the buffers, &#8230;.). A way out would be to augment the SQL with the MAX number of columns the user expects, but this puts much burden on the user, and the system will have to decide what to do in case of ANY surpassing this MAX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr. Ed</title>
		<link>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111376</link>
		<dc:creator>Mr. Ed</dc:creator>
		<pubDate>Thu, 11 Oct 2007 07:50:17 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/612/oracle-11g-new-pivot-table-feature#comment-111376</guid>
		<description>2 out of 10.  At this rate, it won't work properly until Oracle 13g Release 1.</description>
		<content:encoded><![CDATA[<p>2 out of 10.  At this rate, it won&#8217;t work properly until Oracle 13g Release 1.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
