<?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>Technical LeoLo &#187; exist</title>
	<atom:link href="http://blog.leolo.cc/labels/exist/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.leolo.cc</link>
	<description>My Learning note</description>
	<lastBuildDate>Thu, 12 Mar 2009 08:58:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle/PLSQL: If Exists Update Else Insert</title>
		<link>http://blog.leolo.cc/2008/05/04/13/</link>
		<comments>http://blog.leolo.cc/2008/05/04/13/#comments</comments>
		<pubDate>Sun, 04 May 2008 06:35:00 +0000</pubDate>
		<dc:creator>leolo</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[exist]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[PLSQL]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://leolo.wordpress.com/2008/05/04/oracleplsql-if-exists-update-else-insert/</guid>
		<description><![CDATA[If data exists then update it, otherwise insert it.In Oracle/PLSQL
BEGINUPDATE TABLE_NAME SET COL=&#8217;a&#8217; WHERE ID=&#8217;foobar&#8217;;IF sql%rowcount = 0 THENINSERT INTO TABLE_NAME (ID,COL) VALUES(&#8216;foobar&#8217;,'a&#8217;);END IF;END;
]]></description>
		<wfw:commentRss>http://blog.leolo.cc/2008/05/04/13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
