<?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/"
		>
<channel>
	<title>Comments on: How to Stop A Table Being Dropped Or Truncated?</title>
	<atom:link href="http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/feed/" rel="self" type="application/rss+xml" />
	<link>http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/</link>
	<description>Oracle Question and Answer</description>
	<lastBuildDate>Sat, 07 Aug 2010 04:48:56 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kiran Shah</title>
		<link>http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/comment-page-1/#comment-86</link>
		<dc:creator>Kiran Shah</dc:creator>
		<pubDate>Wed, 25 Jan 2006 07:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/#comment-86</guid>
		<description>For safety against dropping a table there is a much better way to implement this. You have to create a dummy table having one field only of length about 30 characters. Insert required table names in this table. And now use a before drop trigger where you will first look into this table to see and match table names.

However, this will give you protection against in-advertantly dropping of tables but not against truncating.</description>
		<content:encoded><![CDATA[<p>For safety against dropping a table there is a much better way to implement this. You have to create a dummy table having one field only of length about 30 characters. Insert required table names in this table. And now use a before drop trigger where you will first look into this table to see and match table names.</p>
<p>However, this will give you protection against in-advertantly dropping of tables but not against truncating.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Aldridge</title>
		<link>http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/comment-page-1/#comment-65</link>
		<dc:creator>David Aldridge</dc:creator>
		<pubDate>Fri, 20 Jan 2006 16:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/#comment-65</guid>
		<description>If your application performs any kind of DDL on a table, or you are not sure whether it does, then don&#039;t use this technique.

You can find more information on DDL locks here:
http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/consist.htm#sthref2101

However, I wouldn&#039;t rely on a documented list, even if one exists somewhere. Always test for yourself.</description>
		<content:encoded><![CDATA[<p>If your application performs any kind of DDL on a table, or you are not sure whether it does, then don&#8217;t use this technique.</p>
<p>You can find more information on DDL locks here:<br />
<a href="http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/consist.htm#sthref2101" rel="nofollow">http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10743/consist.htm#sthref2101</a></p>
<p>However, I wouldn&#8217;t rely on a documented list, even if one exists somewhere. Always test for yourself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robertc</title>
		<link>http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/comment-page-1/#comment-64</link>
		<dc:creator>Robertc</dc:creator>
		<pubDate>Fri, 20 Jan 2006 08:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/01/19/how-to-stop-a-table-being-dropped-or-truncated/#comment-64</guid>
		<description>&gt;&gt; This will also prevent other operations that require a table lock though,

Please list them, 
thanks for the nice tip</description>
		<content:encoded><![CDATA[<p>&gt;&gt; This will also prevent other operations that require a table lock though,</p>
<p>Please list them,<br />
thanks for the nice tip</p>
]]></content:encoded>
	</item>
</channel>
</rss>
