I'm having an issue trying to re-enable a unique constraint. I try using this command:
alter table TESTSCHEMA_1.TEST_TABLE1 enable constraint TEST_UNIQUE_CONSTRAINT1;
The issue is that i have multiple schemas (say: TESTSCHEMA_1 to _5), and they all have tables with the same name TEST_TABLE1 which also have a Unique constraint with the same name TEST_UNIQUE_CONSTRAINT1.
As a result I get this error:
ORA-02299: cannot validate (TESTSCHEMA_1.TEST_UNIQUE_CONSTRAINT1) - duplicate keys found
How can I indicate specifically the schema where is the constraint i want to enable? I've tried using TESTSCHEMA_1.TEST_UNIQUE_CONSTRAINT1, but it throws a syntax error (Non-properly ended sql command)