declare object_exists exception; pragma exception_init (object_exists , -01430); begin execute immediate 'ALTER TABLE USUARIO ADD (INDEXPIRASENHA NUMBER(1) DEFAULT 0 NOT NULL)'; exception when object_exists then null; end;