I have the following schema:
CREATE TABLE mycontacts (
m_key INT AUTO_INCREMENT PRIMARY KEY NOT NULL,
m_contact_key INT NOT NULL,
m_empl_key INT NOT NULL,
m_cwho INT NOT NULL,
m_cwhen datetime NOT NULL
);
I add a record... delete it... and add another
Both have the same keys... is there a way to specify to never repeat a key? I was wondering if unique would do it... I've looked on mysql.com site for "unique" but their search wasn't working.
Thanks.