Help!

I have a problem with a database which gives a "duplicate entry on key 1" error message when I try to re-add a record that I have just deleted. I have a feeling it has to do with my index..

my key column is shown like this in the create statement:

Create table 'mydb' (

<snip>

'MyKeyField' varchar(30) default '',
'another_field' varchar(30) default '',
'last_field' varchar(16) default '',
UNIQUE KEY 'idx_MyKeyField' ('MyKeyField')
) Type=MyISAM

I am using MySQL 3.23.53 on MacOS X 10.2.2, with PhP3 and Lasso 5.0.1

Thanks for any help,

Jason



---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to