ALTER TABLE ORCAFINACENTCUST ADD CDCLASSFINA VARCHAR2(06) NULL
/
DELETE FROM ORCAFINACENTCUST
WHERE CDCLASSFINA IS NULL
/
COMMIT
/
ALTER TABLE ORCAFINACENTCUST MODIFY CDCLASSFINA NOT NULL
/
ALTER TABLE ORCAFINACENTCUST DROP CONSTRAINT PK_ORCAFINACENTCUST
/
ALTER TABLE ORCAFINACENTCUST ADD CONSTRAINT PK_ORCAFINACENTCUST PRIMARY KEY (CDCENTCUST, CDCLASSFINA, CDEMPRESA, CDFILIAL, DTORCAFINA)
/