Home  >  Article  >  Backend Development  >  1062 - Duplicate entry 33 for key 1_PHP教程

1062 - Duplicate entry 33 for key 1_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:51:49919browse

1062 - Duplicate entry 33 for key 1

Sometimes when we import data, something like 1062 - Duplicate entry '33' for key 1 will appear, right?

Then what is the reason for this? Yesterday I found such a problem when importing data.

After analysis, the reason is that the data ID I want to import already exists in the data table,

Now that you know the reason, the solution is up to you.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632536.htmlTechArticle1062 - Duplicate entry 33 for key 1 Sometimes when we import data, something like 1062 - Duplicate entry '33' will appear. Is there a problem with for key 1? Then what is the reason? Yesterday I was importing data...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn