<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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: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>Comments on: SQL SERVER &#8211; Not Possible &#8211; Delete From Multiple Table &#8211; Update Multiple Table in Single Statement</title>
	<atom:link href="http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: murugesh</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-474864</link>
		<dc:creator><![CDATA[murugesh]]></dc:creator>
		<pubDate>Tue, 14 May 2013 04:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-474864</guid>
		<description><![CDATA[how to delete multiple table data in single sql query

thanks]]></description>
		<content:encoded><![CDATA[<p>how to delete multiple table data in single sql query</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-410562</link>
		<dc:creator><![CDATA[Ravi]]></dc:creator>
		<pubDate>Mon, 21 Jan 2013 06:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-410562</guid>
		<description><![CDATA[Can we do Multiple Updates( updating different rows) on Single table at a time?]]></description>
		<content:encoded><![CDATA[<p>Can we do Multiple Updates( updating different rows) on Single table at a time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashokjha</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-354951</link>
		<dc:creator><![CDATA[ashokjha]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 16:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-354951</guid>
		<description><![CDATA[Good Read]]></description>
		<content:encoded><![CDATA[<p>Good Read</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sqlindian</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-354005</link>
		<dc:creator><![CDATA[sqlindian]]></dc:creator>
		<pubDate>Fri, 28 Sep 2012 18:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-354005</guid>
		<description><![CDATA[Ofcourse you can. I think we should collaborate more :)

Note that you can use an INSERT INSERT, UPPDATE INSERT, DELETE INSERT or MERGE INSERT using composable DML.

Also excellent picture selection there. That explains the concept pretty well there. I can&#039;t think of a better image to explain composable DML. A picture is worth a thousand words, indeed.

Regards
Roji Thomas
http://sqlindian.com]]></description>
		<content:encoded><![CDATA[<p>Ofcourse you can. I think we should collaborate more :)</p>
<p>Note that you can use an INSERT INSERT, UPPDATE INSERT, DELETE INSERT or MERGE INSERT using composable DML.</p>
<p>Also excellent picture selection there. That explains the concept pretty well there. I can&#8217;t think of a better image to explain composable DML. A picture is worth a thousand words, indeed.</p>
<p>Regards<br />
Roji Thomas<br />
<a href="http://sqlindian.com" rel="nofollow">http://sqlindian.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-353759</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Fri, 28 Sep 2012 03:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-353759</guid>
		<description><![CDATA[Great Comment Roji as usual.

Can I reblog it on SQLAuthority with due credit?

Please.]]></description>
		<content:encoded><![CDATA[<p>Great Comment Roji as usual.</p>
<p>Can I reblog it on SQLAuthority with due credit?</p>
<p>Please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sqlindian</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-353661</link>
		<dc:creator><![CDATA[sqlindian]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 18:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-353661</guid>
		<description><![CDATA[While it is still not possible to UPDATE or DELETE, you can atleast INSERT into multiple tables in a single statement.

For eg, 

CREATE TABLE T1(id int, data int)
CREATE TABLE T2(id int, data int)

INSERT INTO T1 VALUES(1,1)
INSERT INTO t2 VALUES (1,1)

SELECT * FROM t1 inner join t2 on t1.id=t2.id

INSERT INTO T1
SELECT D.id, D.data
FROM (
INSERT T2 
OUTPUT inserted.id, inserted.data
VALUES(2,2)
) D


SELECT * FROM t1 inner join t2 on t1.id=t2.id

this feature is called coposable DML and you can read more about it here
http://www.sqlmag.com/article/sql-server/composable-dml

Regards
Roji Thomas
http://sqlindian.com]]></description>
		<content:encoded><![CDATA[<p>While it is still not possible to UPDATE or DELETE, you can atleast INSERT into multiple tables in a single statement.</p>
<p>For eg, </p>
<p>CREATE TABLE T1(id int, data int)<br />
CREATE TABLE T2(id int, data int)</p>
<p>INSERT INTO T1 VALUES(1,1)<br />
INSERT INTO t2 VALUES (1,1)</p>
<p>SELECT * FROM t1 inner join t2 on t1.id=t2.id</p>
<p>INSERT INTO T1<br />
SELECT D.id, D.data<br />
FROM (<br />
INSERT T2<br />
OUTPUT inserted.id, inserted.data<br />
VALUES(2,2)<br />
) D</p>
<p>SELECT * FROM t1 inner join t2 on t1.id=t2.id</p>
<p>this feature is called coposable DML and you can read more about it here<br />
<a href="http://www.sqlmag.com/article/sql-server/composable-dml" rel="nofollow">http://www.sqlmag.com/article/sql-server/composable-dml</a></p>
<p>Regards<br />
Roji Thomas<br />
<a href="http://sqlindian.com" rel="nofollow">http://sqlindian.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girijesh Pandey</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-353586</link>
		<dc:creator><![CDATA[Girijesh Pandey]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 14:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-353586</guid>
		<description><![CDATA[Hi Pinal,

Excellent post!

As i can see the complete chat, you explained this difference to DJ in pretty good way.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Excellent post!</p>
<p>As i can see the complete chat, you explained this difference to DJ in pretty good way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aswinikumar</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-353457</link>
		<dc:creator><![CDATA[Aswinikumar]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 03:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-353457</guid>
		<description><![CDATA[Absolutely,After I take a first look of this post,  I thought of We can achieve this by using CASE statement Or using MERGE. After I read complete post I understood what DJ intention.]]></description>
		<content:encoded><![CDATA[<p>Absolutely,After I take a first look of this post,  I thought of We can achieve this by using CASE statement Or using MERGE. After I read complete post I understood what DJ intention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nasif</title>
		<link>http://blog.sqlauthority.com/2012/09/27/sql-server-not-possible-delete-from-multiple-table-update-multiple-table-in-single-statement/#comment-353450</link>
		<dc:creator><![CDATA[Nasif]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 02:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20913#comment-353450</guid>
		<description><![CDATA[Good Read.]]></description>
		<content:encoded><![CDATA[<p>Good Read.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
