--drop constraint se existe
DECLARE
itemExists NUMBER;
BEGIN
     itemExists := 0;

SELECT COUNT(CONSTRAINT_NAME) INTO itemExists 
FROM ALL_CONSTRAINTS
WHERE UPPER(CONSTRAINT_NAME) = UPPER('UNIQUE_TARIFA_OFICIAL');

IF itemExists > 0 THEN
EXECUTE IMMEDIATE 'ALTER TABLE TARIFA_OFICIAL DROP CONSTRAINT UNIQUE_TARIFA_OFICIAL';
END IF;
END;