<?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>BlogmyQuery - BMQ &#187; Update Multiple Tables</title>
	<atom:link href="http://blogmyquery.com/index.php/tag/update-multiple-tables/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogmyquery.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 14:15:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Update Multiple Tables with one Statement</title>
		<link>http://blogmyquery.com/index.php/2009/07/update-multiple-tables-with-one-statement/</link>
		<comments>http://blogmyquery.com/index.php/2009/07/update-multiple-tables-with-one-statement/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 21:02:22 +0000</pubDate>
		<dc:creator>kranthi</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[Sqlserver]]></category>
		<category><![CDATA[Update Multiple Tables]]></category>

		<guid isPermaLink="false">http://blogmyquery.com/?p=605</guid>
		<description><![CDATA[In real time applications there might be situation where you need update details of one table using details of another [...]]]></description>
			<content:encoded><![CDATA[<p>In real time applications there might be situation where you need update details of one table using details of another or update two or tables using one statement. Below is Example of how you can do that in SQL Server </p>
<pre class="brush: plain;">
Update t1 Set t1.col1 = t2.col1 from Table t1 inner join Table t2 on t1.col = t2.col where Condtn
</pre>
<p>Below is MYSql Example</p>
<pre class="brush: plain;">
Update Table t1 inner join Table t2 on t1.col = t2.col Set t1.col1 = t2.col1 where Condtn
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blogmyquery.com/index.php/2009/07/update-multiple-tables-with-one-statement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

