<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Links for You</title>
	<atom:link href="http://linksforu.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linksforu.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 11 May 2008 17:19:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='linksforu.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Links for You</title>
		<link>http://linksforu.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://linksforu.wordpress.com/osd.xml" title="Links for You" />
	<atom:link rel='hub' href='http://linksforu.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Checking Null Indicators in DB2 UDFs</title>
		<link>http://linksforu.wordpress.com/2008/05/10/hello-world/</link>
		<comments>http://linksforu.wordpress.com/2008/05/10/hello-world/#comments</comments>
		<pubDate>Sat, 10 May 2008 19:29:03 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In SQLUDFs that we are coding, Null values can be checked as if (SQLUDF_NULL(NullInd)) /* Null */ Otherwise the Null indicators can be checked for value -1 i.e. The Null Indicator variable will have value -1 when the corresponding variable is NULL, which is evident from the following piece of code.. (Refer http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sql.doc/doc/c0023763.htm for SQLUDFs) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linksforu.wordpress.com&amp;blog=3695678&amp;post=1&amp;subd=linksforu&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Verdana;">In SQLUDFs that we are coding,</span></p>
<p><span style="font-family:Verdana;">Null values can be checked as </span></p>
<p><span style="font-family:Verdana;color:#0000ff;">if (SQLUDF_NULL(NullInd)) /* Null */</span></p>
<p><span style="font-family:Verdana;">Otherwise the Null indicators can be checked for value -1</span><br />
<span style="font-family:Verdana;">i.e.</span><br />
<span style="font-family:Verdana;">The Null Indicator variable will have value -1 when the corresponding variable is NULL, which is evident from the following piece of code..</span><br />
(Refer <strong><span style="color:#ff0000;"><a href="http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sql.doc/doc/c0023763.htm">http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sql.doc/doc/c0023763.htm</a></span></strong><br />
for SQLUDFs)</p>
<p>Null Indicator</p>
<p style="margin-left:0.3in;margin-bottom:0;"><span style="font-family:Verdana,sans-serif;">-1	: the field is null</span></p>
<p style="margin-left:0.3in;margin-bottom:0;"><span style="font-family:Verdana,sans-serif;">0 	: the field is not null</span></p>
<p style="margin-left:0.3in;margin-bottom:0;"><span style="font-family:Verdana,sans-serif;">-2	: the field value is truncated</span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linksforu.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linksforu.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linksforu.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linksforu.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linksforu.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linksforu.wordpress.com&amp;blog=3695678&amp;post=1&amp;subd=linksforu&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linksforu.wordpress.com/2008/05/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/adf501c8aa297d6cda0cbee195c2d46d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Karthik</media:title>
		</media:content>
	</item>
	</channel>
</rss>
