<?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>SmashTech &#187; db2</title>
	<atom:link href="http://smashtech.net/tag/db2/feed/" rel="self" type="application/rss+xml" />
	<link>http://smashtech.net</link>
	<description>Did you buy a harmonica?</description>
	<lastBuildDate>Sun, 19 Feb 2012 23:09:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Pad a Numeric Field with 0 in DB2</title>
		<link>http://smashtech.net/2009/06/10/pad-a-numeric-field-with-0-in-db2/</link>
		<comments>http://smashtech.net/2009/06/10/pad-a-numeric-field-with-0-in-db2/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 12:32:16 +0000</pubDate>
		<dc:creator>Jim Olding</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://smashtech.net/?p=290</guid>
		<description><![CDATA[Say you&#8217;re storing a time in a 6 position numeric field in DB2 (in HHMMSS format), and you need to pull the hour. SUBSTR(FIELD,1,2) will work great as long as the time is 10am or later, but before that, you&#8217;ll start pulling weird times like 91:00. This is because SUBSTR does not pad a numeric [...]]]></description>
		<wfw:commentRss>http://smashtech.net/2009/06/10/pad-a-numeric-field-with-0-in-db2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

