<?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: Selecting a &#039;pruned tree&#039; with selected nodes and all their ancestors &#8211; Hierarchical SQL Queries and Bottom-Up Trees</title>
	<atom:link href="http://technology.amis.nl/2005/08/11/selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2005/08/11/selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees</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: Dan Sobrante</title>
		<link>http://technology.amis.nl/2005/08/11/selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees/#comment-2298</link>
		<dc:creator>Dan Sobrante</dc:creator>
		<pubDate>Thu, 15 Mar 2007 20:58:32 +0000</pubDate>
		<guid isPermaLink="false">/?p=701#comment-2298</guid>
		<description><![CDATA[I tried your initial query on SQL PLus under Oracle 9i, I create a table called emp with some test data.
         select  lpad(&#039;+&#039;,3*(level-1))&#124;&#124;ename&#124;&#124;&#039;(&#039;&#124;&#124;empno&#124;&#124;&#039;)&#039; Employee
         from    emp
         connect
         by      prior empno = mgr
         start
         with    mgr is null

The result set shows the emp up to the last level, meaning it repeats those employees who have a mgr, while your result set above only do this one time, under the main tree.  Any advise?]]></description>
		<content:encoded><![CDATA[<p>I tried your initial query on SQL PLus under Oracle 9i, I create a table called emp with some test data.<br />
         select  lpad(&#8216;+&#8217;,3*(level-1))||ename||&#8217;(&#8216;||empno||&#8217;)&#8217; Employee<br />
         from    emp<br />
         connect<br />
         by      prior empno = mgr<br />
         start<br />
         with    mgr is null</p>
<p>The result set shows the emp up to the last level, meaning it repeats those employees who have a mgr, while your result set above only do this one time, under the main tree.  Any advise?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/2005/08/11/selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees/#comment-2297</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Thu, 29 Jun 2006 07:54:18 +0000</pubDate>
		<guid isPermaLink="false">/?p=701#comment-2297</guid>
		<description><![CDATA[Donna,

There are no 10g features used in these queries. SYS_CONNECT_BY_PATH and the WITH clause are the two most recent features and both should be in your 9.2 database.

Can you show the SQL that you are trying to execute and that does not work? By the way: if you run the SQL directly in SQL*Plus, does it then fail too?

best regards,

Lucas]]></description>
		<content:encoded><![CDATA[<p>Donna,</p>
<p>There are no 10g features used in these queries. SYS_CONNECT_BY_PATH and the WITH clause are the two most recent features and both should be in your 9.2 database.</p>
<p>Can you show the SQL that you are trying to execute and that does not work? By the way: if you run the SQL directly in SQL*Plus, does it then fail too?</p>
<p>best regards,</p>
<p>Lucas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donna Oliver</title>
		<link>http://technology.amis.nl/2005/08/11/selecting-a-pruned-tree-with-selected-nodes-and-all-their-ancestors-hierarchical-sql-queries-and-bottom-up-trees/#comment-2296</link>
		<dc:creator>Donna Oliver</dc:creator>
		<pubDate>Wed, 28 Jun 2006 18:35:38 +0000</pubDate>
		<guid isPermaLink="false">/?p=701#comment-2296</guid>
		<description><![CDATA[We are currently running forms 6.0 (c/s) on an Oracle 9.2.  I&#039;m trying to &quot;prune&quot; a tree but can&#039;t get it to work right.  Is the above logic only available with 10?

Thanks.]]></description>
		<content:encoded><![CDATA[<p>We are currently running forms 6.0 (c/s) on an Oracle 9.2.  I&#8217;m trying to &#8220;prune&#8221; a tree but can&#8217;t get it to work right.  Is the above logic only available with 10?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
