<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MacLochlainns Weblog &#187; is not of</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/tag/is-not-of/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:21:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The IS OF operator for object type comparisons</title>
		<link>http://blog.mclaughlinsoftware.com/2008/04/28/the-is-of-operator-for-object-type-comparisons/</link>
		<comments>http://blog.mclaughlinsoftware.com/2008/04/28/the-is-of-operator-for-object-type-comparisons/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 03:01:23 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[is not of]]></category>
		<category><![CDATA[is of]]></category>
		<category><![CDATA[object type comparison]]></category>
		<category><![CDATA[operator]]></category>

		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?p=10</guid>
		<description><![CDATA[You can do base type and subtype comparisons with the IS OF or IS NOT OF operators. They work like the typeof operator in Java. They also eliminate null values when you use them in a WHERE clause or an IF block. They work against all SQL user-defined object types. The prototypes are:   object_variable IS OF [...]]]></description>
			<content:encoded><![CDATA[<p>You can do base type and subtype comparisons with the <code>IS OF</code> or <code>IS NOT OF</code> operators. They work like the typeof operator in Java. They also eliminate null values when you use them in a <code>WHERE</code> clause or an <code>IF</code> block. They work against all SQL user-defined object types. The prototypes are:<br />
 </p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">object_variable <span style="color: #993333; font-weight: bold;">IS</span> OF <span style="color: #66cc66;">&#40;</span>object_type1 <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">,</span> object_type2<span style="color: #66cc66;">,</span> <span style="color: #66cc66;">&#91;</span>object_type<span style="color: #66cc66;">&#40;</span>n<span style="color: #66cc66;">+</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>
object_variable <span style="color: #993333; font-weight: bold;">IS</span> <span style="color: #993333; font-weight: bold;">NOT</span> OF <span style="color: #66cc66;">&#40;</span>object_type1 <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">,</span> object_type2<span style="color: #66cc66;">,</span> <span style="color: #66cc66;">&#91;</span>object_type<span style="color: #66cc66;">&#40;</span>n<span style="color: #66cc66;">+</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

<p> <br />
The left operand should be an object column or element of a collection. The <code>IS OF</code> returns true when the <em>object_variable</em> matches the object type or a member of the list of object types. The <code>IS NOT OF</code> returns true when the <em>object_variable</em> doesn&#8217;t match, and both return false when the <em>object_variable</em> is a null value.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2008/04/28/the-is-of-operator-for-object-type-comparisons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
