Jump to content
  • 0

{HElp)Sql problem


Question

Posted

what this problem means when i execute a sql file???

 

[Err] 1062 - Duplicate entry '40006' for key 1

[Msg] Finished - Unsuccessfully?Huh?someone help Undecided Undecided Undecided

1 answer to this question

Recommended Posts

  • 0
Posted

You try to add a line with an ID ( this ID is 40006 ) and this line already exists, at least, there is a line with this ID in your database yet.

 

Chaange the 40006 in your SQL query to an unexisting ID, an ID in SQL should be unique, always !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...