Hi
I get the following error ORA-00001: unique constraint (FES.PEOPLE_I6) violated when I run the following update query
update people p
set (p.gc_candidate_no, p.gc_uci) =
(select gu.cnumber, gu.gc_uci
from
sdc_UCI_update gu
where p.person_code = gu.person_code)
where p.person_code in (select gu2.person_code from sdc_UCI_update gu2)
The people table has person_code as its primary key the other table sdc_uci_update has no primary key
Am I doing something wrong?
Many Thanks in advance for anyones help
Diehippy
I get the following error ORA-00001: unique constraint (FES.PEOPLE_I6) violated when I run the following update query
update people p
set (p.gc_candidate_no, p.gc_uci) =
(select gu.cnumber, gu.gc_uci
from
sdc_UCI_update gu
where p.person_code = gu.person_code)
where p.person_code in (select gu2.person_code from sdc_UCI_update gu2)
The people table has person_code as its primary key the other table sdc_uci_update has no primary key
Am I doing something wrong?
Many Thanks in advance for anyones help
Diehippy