<?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: Joining nested tables</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/oracle-sql-programming/nested-tables-and-how-to-join-them-to-their-containing-rows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Fri, 12 Mar 2010 07:01:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/nested-tables-and-how-to-join-them-to-their-containing-rows/comment-page-1/#comment-1187</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 03 Mar 2009 20:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=22#comment-1187</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/nested-tables-and-how-to-join-them-to-their-containing-rows/comment-page-1/#comment-448</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Thu, 25 Dec 2008 05:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=22#comment-448</guid>
		<description>I&#039;ve added a bunch of content to address the question in the modified post. I hope it helps you.

The quickest way is to query like this to find rows that contain a null value for a nested table:

&lt;pre lang=&quot;SQL&quot;&gt;
SELECT   rowid
FROM     some_table
WHERE    some_collection_column IS NULL;
&lt;/pre&gt;

Also, an not-null but empty collection can be found by using this syntax:

&lt;pre lang=&quot;SQL&quot;&gt;
SELECT   rowid
FROM     some_table
WHERE    some_collection_column IS EMPTY;
&lt;/pre&gt;

A populated collection column is found by checking for the absence of the first two conditions, like:

&lt;pre lang=&quot;SQL&quot;&gt;
SELECT   rowid
FROM     some_table
WHERE    some_collection_column IS NOT EMPTY
AND      some_collection_column IS NOT NULL;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added a bunch of content to address the question in the modified post. I hope it helps you.</p>
<p>The quickest way is to query like this to find rows that contain a null value for a nested table:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>   rowid
<span style="color: #993333; font-weight: bold;">FROM</span>     some_table
<span style="color: #993333; font-weight: bold;">WHERE</span>    some_collection_column <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NULL</span>;</pre></div></div>

<p>Also, an not-null but empty collection can be found by using this syntax:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>   rowid
<span style="color: #993333; font-weight: bold;">FROM</span>     some_table
<span style="color: #993333; font-weight: bold;">WHERE</span>    some_collection_column <span style="color: #993333; font-weight: bold;">IS</span> EMPTY;</pre></div></div>

<p>A populated collection column is found by checking for the absence of the first two conditions, like:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span>   rowid
<span style="color: #993333; font-weight: bold;">FROM</span>     some_table
<span style="color: #993333; font-weight: bold;">WHERE</span>    some_collection_column <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> EMPTY
<span style="color: #993333; font-weight: bold;">AND</span>      some_collection_column <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;</pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: swapnil</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/nested-tables-and-how-to-join-them-to-their-containing-rows/comment-page-1/#comment-441</link>
		<dc:creator>swapnil</dc:creator>
		<pubDate>Wed, 24 Dec 2008 05:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=22#comment-441</guid>
		<description>How can we check for nested column whether it is null or not as we cannot use NVL on nested column</description>
		<content:encoded><![CDATA[<p>How can we check for nested column whether it is null or not as we cannot use NVL on nested column</p>
]]></content:encoded>
	</item>
</channel>
</rss>
