Drop duplicate primary key unique index health_med_operation_item_organ.ix_unique ["health_med_operation_item_organ_id","health_med_operation_item_id","health_med_operation_type_id"]
Recreate unique index provis_pname.ix_shortname [provis_pname_short_name]
ีupdate แล้วครับ อาจารย์เจอ error ตัวนี้จะเป็นอะไรหรือเปล่าครับ
Safe alter table start for table clinicmember command add unique index ix_unique_hn_clinic (hn,clinic)
Install Trigger on clinicmember
Clone table clinicmember -> tmp_clinicmember
Execute command add unique index ix_unique_hn_clinic (hn,clinic)
SQL Error: Duplicate entry '000026728-001' for key 'ix_unique_hn_clinic'
Enabling keys
Synchronize table clinicmember
Synchronize row data done.
Rename table tmp_clinicmember --> clinicmember
Safe alter table done.