<?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: MySQL&#8217;s ERROR 1025 explained</title>
	<atom:link href="http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Viranch Mehta</title>
		<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/#comment-19318</link>
		<dc:creator>Viranch Mehta</dc:creator>
		<pubDate>Sun, 01 May 2011 02:59:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=166#comment-19318</guid>
		<description>Aah, thanks! This was a tricky thing. The explanation helped me solve it :)</description>
		<content:encoded><![CDATA[<p>Aah, thanks! This was a tricky thing. The explanation helped me solve it :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pradeep mogi</title>
		<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/#comment-19139</link>
		<dc:creator>pradeep mogi</dc:creator>
		<pubDate>Fri, 11 Feb 2011 09:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=166#comment-19139</guid>
		<description>mysql&gt;Show create table isd;
Shows following output.
&#124; isd   &#124; CREATE TABLE `isd` (
  `isdname` varchar(20) NOT NULL,
  `isdcp` varchar(20) default NULL,
  `isdemail` char(20) default NULL,
  `isdphone` bigint(12) default NULL,
  `subteritory` char(20) default NULL,
  `address` varchar(100) default NULL,
  PRIMARY KEY  (`isdname`),
  KEY `subteritory` (`subteritory`),
  CONSTRAINT `isd_ibfk_1` FOREIGN KEY (`subteritory`) REFERENCES `subteritory` (
`stname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 &#124;
Then follow next step
mysql&gt; alter table isd drop foreign key isd_ibfk_1;
Next 
mysql&gt; alter table isd DROP COLUMN subteritory;
Finally it Foreign key constraint deleted successfully.</description>
		<content:encoded><![CDATA[<p>mysql&gt;Show create table isd;<br />
Shows following output.<br />
| isd   | CREATE TABLE `isd` (<br />
  `isdname` varchar(20) NOT NULL,<br />
  `isdcp` varchar(20) default NULL,<br />
  `isdemail` char(20) default NULL,<br />
  `isdphone` bigint(12) default NULL,<br />
  `subteritory` char(20) default NULL,<br />
  `address` varchar(100) default NULL,<br />
  PRIMARY KEY  (`isdname`),<br />
  KEY `subteritory` (`subteritory`),<br />
  CONSTRAINT `isd_ibfk_1` FOREIGN KEY (`subteritory`) REFERENCES `subteritory` (<br />
`stname`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |<br />
Then follow next step<br />
mysql&gt; alter table isd drop foreign key isd_ibfk_1;<br />
Next<br />
mysql&gt; alter table isd DROP COLUMN subteritory;<br />
Finally it Foreign key constraint deleted successfully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pradeep</title>
		<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/#comment-19138</link>
		<dc:creator>pradeep</dc:creator>
		<pubDate>Fri, 11 Feb 2011 08:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=166#comment-19138</guid>
		<description>It&#039;s Working!
Thank U very much karuna for explaining Trenton answer in detailed manner.</description>
		<content:encoded><![CDATA[<p>It&#8217;s Working!<br />
Thank U very much karuna for explaining Trenton answer in detailed manner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfalohalani</title>
		<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/#comment-18228</link>
		<dc:creator>wolfalohalani</dc:creator>
		<pubDate>Thu, 29 Apr 2010 18:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=166#comment-18228</guid>
		<description>You can also get this error if you get the foreign_key name wrong.  Use &#039;show create table&#039; on the table you&#039;re trying to drop the key for and see if it&#039;s named what you think it is.</description>
		<content:encoded><![CDATA[<p>You can also get this error if you get the foreign_key name wrong.  Use &#8216;show create table&#8217; on the table you&#8217;re trying to drop the key for and see if it&#8217;s named what you think it is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uno</title>
		<link>http://www.xaprb.com/blog/2006/08/22/mysqls-error-1025-explained/#comment-18177</link>
		<dc:creator>Uno</dc:creator>
		<pubDate>Wed, 21 Apr 2010 08:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=166#comment-18177</guid>
		<description>You simply put this commmand :

DELETE FROM [target_table]
INSERT IGNORE INTO [target_table] SELECT * FROM [source_table]

ENJOY IT !</description>
		<content:encoded><![CDATA[<p>You simply put this commmand :</p>
<p>DELETE FROM [target_table]<br />
INSERT IGNORE INTO [target_table] SELECT * FROM [source_table]</p>
<p>ENJOY IT !</p>
]]></content:encoded>
	</item>
</channel>
</rss>

