<div dir="ltr"><div class="gmail_default"><font>Atul,<br></font></div><div class="gmail_default"><font>I clearly misunderstood the problem and I would like to work on the original problem (merging/altering of table structure) including the update of data rows with duplicate primary rows. Thanks for the link of related feature request and reply.<br></font></div><div class="gmail_default" style="font-size:large"><font>Regards</font>.<br></div><div class="gmail_default" style="font-size:large"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 February 2015 at 23:00, Atul Pratap Singh <span dir="ltr"><<a href="mailto:atulpratapsingh05@gmail.com" target="_blank">atulpratapsingh05@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Rakesh,<div><br><div class="gmail_quote"><span class="">On Thu Feb 12 2015 at 7:10:21 PM Rakesh Kumar <<a href="mailto:rakeshkumar4294@gmail.com" target="_blank">rakeshkumar4294@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><div class="gmail_default"><font>Hi,<br>PMA have this problem
when importing data from file in table containing primary key.If the data
imported contains same value then error is shown for duplicate entry in
table.<br></font></div><div class="gmail_default"><font>After considering answer given by Bill Karwin on <a href="http://stackoverflow.com/questions/548541/insert-ignore-vs-insert-on-duplicate-key-update" target="_blank">stackoverflow link</a> .<br></font></div><div class="gmail_default"><font>I
suggest to keep a check box for ignoring or replacing the new value
which is already there in import file as imposing It permanently can
create some mess.<br></font></div></div></div></blockquote><div><br></div></span><div>If I understand correctly the old rfe #675, it is more about merging/altering of table structure as per the new table structure perceived from the sql dump, not just update of data rows with duplicate primary key values.<br></div><div>As pointed out by a comment on #675, it is similar to generating an alter table diff (see <a href="https://sourceforge.net/p/phpmyadmin/feature-requests/246/" target="_blank">https://sourceforge.net/p/phpmyadmin/feature-requests/246/</a> ), but #675 would require parsing of sql dump as well.</div><div><br></div><div>Maybe a new feature request could be opened for ignoring or replacing the new values on finding duplicate primary key.<br></div><div><br></div><div><br></div><div>--</div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Atul Pratap SIngh</div><div><a href="http://blog.atulsisodia.in/" target="_blank">http://blog.atulsisodia.in/</a></div></font></span></div></div></div>
<br>------------------------------------------------------------------------------<br>
Dive into the World of Parallel Programming. The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is your<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<br>
look and join the conversation now. <a href="http://goparallel.sourceforge.net/" target="_blank">http://goparallel.sourceforge.net/</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Rakesh Kumar-B.Tech CSE ,ISM Dhanbad<br></div></div>
</div>