<?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: Oracle RDBMS 11gR2 &#8211; new style hierarchical querying using Recursive Subquery Factoring</title>
	<atom:link href="http://technology.amis.nl/2009/09/29/oracle-rdbms-11gr2-new-style-hierarchical-querying-using-recursive-subquery-factoring/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2009/09/29/oracle-rdbms-11gr2-new-style-hierarchical-querying-using-recursive-subquery-factoring/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-rdbms-11gr2-new-style-hierarchical-querying-using-recursive-subquery-factoring</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: J</title>
		<link>http://technology.amis.nl/2009/09/29/oracle-rdbms-11gr2-new-style-hierarchical-querying-using-recursive-subquery-factoring/#comment-5941</link>
		<dc:creator>J</dc:creator>
		<pubDate>Tue, 06 Sep 2011 08:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=6267#comment-5941</guid>
		<description><![CDATA[Hi,
How would you use the above with the following use-case:
I need to return a full tree structure where a like match is done on a name column. The data would look like
manId &#124; empID &#124; name
 1 Paul
1 2 Kara
1 3 Matthew
1 4 Bill
2 5 Gary
2 6 Paul
3 7 Sally
3 8 Sarah
4 9 Jill
4 10 Sarah
Â 
so the strucure is
Â 
- 1. Paul
 - 2. Kara
 - 5. Gary
 - 6. Paul
 - 3. Matthew
 - 7. Sally
 - 8. Sarah
 - 4. Bill
 - 9. Jill
 - 10. Sarah
Â 
and I&#039;d like to be able to search for where lower(name) like &#039;%sarah%&#039; and have the following returned:
Â 
- 1. Paul
 - 3. Matthew
 - 8. Sarah
 - 4. Bill
 - 10. Sarah
Â 
likewise I&#039;d like to be able to search where lower(name) like &#039;%matthew%&#039; and have the following returned:
Â 
- 1. Paul
 - 3. Matthew
 - 7. Sally
 - 8. Sarah
Â 
Possible?]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
How would you use the above with the following use-case:<br />
I need to return a full tree structure where a like match is done on a name column. The data would look like<br />
manId | empID | name<br />
 1 Paul<br />
1 2 Kara<br />
1 3 Matthew<br />
1 4 Bill<br />
2 5 Gary<br />
2 6 Paul<br />
3 7 Sally<br />
3 8 Sarah<br />
4 9 Jill<br />
4 10 Sarah<br />
Â <br />
so the strucure is<br />
Â <br />
- 1. Paul<br />
 &#8211; 2. Kara<br />
 &#8211; 5. Gary<br />
 &#8211; 6. Paul<br />
 &#8211; 3. Matthew<br />
 &#8211; 7. Sally<br />
 &#8211; 8. Sarah<br />
 &#8211; 4. Bill<br />
 &#8211; 9. Jill<br />
 &#8211; 10. Sarah<br />
Â <br />
and I&#8217;d like to be able to search for where lower(name) like &#8216;%sarah%&#8217; and have the following returned:<br />
Â <br />
- 1. Paul<br />
 &#8211; 3. Matthew<br />
 &#8211; 8. Sarah<br />
 &#8211; 4. Bill<br />
 &#8211; 10. Sarah<br />
Â <br />
likewise I&#8217;d like to be able to search where lower(name) like &#8216;%matthew%&#8217; and have the following returned:<br />
Â <br />
- 1. Paul<br />
 &#8211; 3. Matthew<br />
 &#8211; 7. Sally<br />
 &#8211; 8. Sarah<br />
Â <br />
Possible?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
