<?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>Techno Oracle &#187; Oracle Error Codes</title>
	<atom:link href="http://www.technooracle.com/oracle-tutorials/category/oracle-error-codes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technooracle.com</link>
	<description>Oracle information centre</description>
	<lastBuildDate>Tue, 17 Apr 2012 12:07:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Oracle Error Codes:ORA-00001</title>
		<link>http://www.technooracle.com/oracle-tutorials/oracle-error-codes-ora-00001/</link>
		<comments>http://www.technooracle.com/oracle-tutorials/oracle-error-codes-ora-00001/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 18:35:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle Error Codes]]></category>
		<category><![CDATA[ora 00001 error]]></category>
		<category><![CDATA[ORA-00001]]></category>
		<category><![CDATA[ORA-00001: Unique constraint violated]]></category>

		<guid isPermaLink="false">http://www.technooracle.com/?p=253</guid>
		<description><![CDATA[ORA-00001 unique constraint (string.string) violated Cause: An UPDATE or INSERT statement attempted to insert a duplicate key. For Trusted Oracle configured in DBMS MAC mode, you may see this message if a duplicate entry exists at a different level. You tried to execute An UPDATE or INSERT statement that has created a duplicate value in [...]]]></description>
			<content:encoded><![CDATA[<p><strong>ORA-00001</strong><br />
unique constraint (string.string) violated</p>
<p><strong>Cause: </strong></p>
<p>An UPDATE or INSERT statement attempted to insert a duplicate key. For Trusted Oracle configured in DBMS MAC mode, you may see this message if a duplicate entry exists at a different level.</p>
<p>You tried to execute An UPDATE or INSERT statement that has created a duplicate value in a field restricted by a unique index</p>
<p><strong>Action: </strong></p>
<p>Either remove the unique restriction or do not insert the key.</p>
<p>To Resolve this oracle error do the following</p>
<p><strong>1.Modify your SQL INSERT or UPDATE statement so that a duplicate value is not created</strong></p>
<p><strong>2.Change the constraint to allow duplicate values</strong></p>
<p><strong>3. Drop the unique constraint</strong></p>
<p>You can run the following SQL statement to identify  which unique constraint was violated:</p>
<p><strong>SQL&gt;SELECT distinct table_name FROM all_indexes WHERE index_name=&#8217;CONSTRAINT_NAME&#8217;;<br />
</strong></p>
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://www.technooracle.com/oracle-tutorials/oracle-error-codes-ora-00001/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

