Errors 1: ORA-00001 APEX APEX_040100.WWV_FLOW_PROV_COMPANY_NAME
Error 2: ORA-20002: Request 2703406260663232 could not be processed. -1 ORA-00001: unique constraint (APEX_040100.WWV_FLOW_COMPANIES_IDX1) violated
How I solved it:
I traced the Index and issued the following statements:
select COMPANY_NAME from apex_040100.WWV_FLOW_PROVISION_COMPANY ;
select SHORT_NAME from apex_040100.WWV_FLOW_COMPANIES;
They returned the value same as I was entering. However that workspace and company does not exist anywhere in the DB, so I did following :
delete from apex_040100.WWV_FLOW_COMPANIES where SHORT_NAME='WORK';
delete from apex_040100.WWV_FLOW_PROVISION_COMPANY where COMPANY_NAME='WORK';
commit;
-- and Voila - the issue resolved !!
it works fine,
ReplyDeleteI am using an oracle xe 11.2 instance, and the error was solved closely like in your example,
select company_name from apex_040000.wwv_flow_provision_company;
then i deleted that company name like:
delete from apex_040000.wwv_flow_provision_company where company)name='name';
Thanks for the post
Good solution.
ReplyDeleteThanks.