After read this thread ,i can't solve the problem ,i want to know the differences between the:
CREATE TABLE tblLinkPersonDept (
PersonRef MediumInt,
DeptRef MediumInt,
PRIMARY KEY ( PersonRef, DeptRef )
)type=innodb;
and the:
alter table tbllinkpersondept
drop primary key;
alter table...