<?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"
	>
<channel>
	<title>Comments on: Delete Can Not be Rolled Back</title>
	<atom:link href="http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html</link>
	<description>Random thoughts and news by Andrew Chen and friends</description>
	<pubDate>Sun, 05 Feb 2012 19:24:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Neeru</title>
		<link>http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-116668</link>
		<dc:creator>Neeru</dc:creator>
		<pubDate>Sat, 11 Dec 2010 07:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-116668</guid>
		<description>Hi,

We can rolled back the delete if there is a condition.  like : 
Delete from  where id = 1

but we can't rolled back delete if there is no condition.  like :
Delete from 

and also we can't  rolled back the truncate .

I have checked this.....

if this is wrong please specify it.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>We can rolled back the delete if there is a condition.  like :<br />
Delete from  where id = 1</p>
<p>but we can&#8217;t rolled back delete if there is no condition.  like :<br />
Delete from </p>
<p>and also we can&#8217;t  rolled back the truncate .</p>
<p>I have checked this&#8230;..</p>
<p>if this is wrong please specify it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Chen</title>
		<link>http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-10530</link>
		<dc:creator>Andrew Chen</dc:creator>
		<pubDate>Sat, 29 Dec 2007 12:26:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-10530</guid>
		<description>Hi Pinal,

Thanks for replying. I feel confuse when you mention roll back using log file together with the “Roll Back” statement. Roll back statement only rolls back the current open transaction in current database session. It can not roll back a committed transaction. 

Roll back using log file however will roll back many transactions. we can not roll back a specific delete that way. Everthing done after the delete will also get rolled back. I got the impression from your post that we can roll back a specific delete statement using log file. 

As you point out roll back using log file is to restore a database to a point of time</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Thanks for replying. I feel confuse when you mention roll back using log file together with the “Roll Back” statement. Roll back statement only rolls back the current open transaction in current database session. It can not roll back a committed transaction. </p>
<p>Roll back using log file however will roll back many transactions. we can not roll back a specific delete that way. Everthing done after the delete will also get rolled back. I got the impression from your post that we can roll back a specific delete statement using log file. </p>
<p>As you point out roll back using log file is to restore a database to a point of time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-10489</link>
		<dc:creator>Pinal Dave</dc:creator>
		<pubDate>Sat, 29 Dec 2007 03:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.siusic.com/wphchen/delete-can-not-be-rolled-back-142.html#comment-10489</guid>
		<description>Hi Andrew,

Thanks for comment. I have tested it earlier and delete can be rolled back using log files even though it is committed. You will have to use point of time restore using log files. However, Truncate can not be restored using log files. I tried to convey this message in title of this post. 

I appreciate your regular participation in this blog. Your comments are always valuable.

Regards,
Pinal Dave ( http://www.SQLAuthority.com )</description>
		<content:encoded><![CDATA[<p>Hi Andrew,</p>
<p>Thanks for comment. I have tested it earlier and delete can be rolled back using log files even though it is committed. You will have to use point of time restore using log files. However, Truncate can not be restored using log files. I tried to convey this message in title of this post. </p>
<p>I appreciate your regular participation in this blog. Your comments are always valuable.</p>
<p>Regards,<br />
Pinal Dave ( <a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

