#1062 – Duplicate entry ’23933-27243-0′ for key ‘membersid’

Hi guys,

I have a table, the table name is account,
its have 2 fields : membersid, and categoryid

i want to change the categoryid field content, i run this in phpmyadmin :

Quote:

update `account` set categoryid = replace (categoryid, ’1′ , ’2′);


but get this error message

Quote:

#1062 – Duplicate entry ’23933-27243-0′ for key ‘membersid’


- what should i do so i can change the field content? Please help.
I already tried changing the field TYPE, from INT, to BIGINT, like other person suggested, but still get that error message

- this is the screenshot from the field Structure

View full post on Tycoon Talk

, , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved