CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 MySQL duplicate entry error even though there is no duplicate entry

Print topic Send  topic

Author Message
tateibra

Posts: 7
Posted: 04/24/2014, 8:13 AM

Debug: query = INSERT INTO tmp_Comp(personCode,Date,firstName,lastName) VALUES('100871','1960-07-10T00:00:00.0Z','Ibrahim','Mhina')
Error:Database Error: Duplicate entry '100871' for key 'PRIMARY'
Please any one know this problem please help me,
I hava upload excel(csv) file and then i want to insert into the table tmp_comp, it bring above duplicate entry for the primary key, and the personCode is not auto_increment number.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.