You are here:  » Database issues "Duplicate key for record at..."

Support Forum



Database issues "Duplicate key for record at..."

Submitted by richard on Tue, 2009-07-28 16:31 in

Hi David

Over the past three weeks I have ensountered a number issues with the PTproduct table in many databases. When I repair the table I get the error message "Duplicate key for record " and then a row is removed and database table is subsequently ok

Do you have any ideas what factors could be causing this?

Regards

Richard

Submitted by support on Tue, 2009-07-28 17:41

Hi Richard,

"Duplicate key" is the method by which duplicates are prevented from being imported; but i'm not sure why you're seeing this during a table repair. Could you try emptying (TRUNCATE) the products table and then importing all products - that should clear it...

Cheers,
David.

Submitted by richard on Tue, 2009-07-28 21:42

thanks

I will try that