declare dup_val_on_index exception; pragma exception_init (dup_val_on_index , -00001); begin execute immediate 'Insert into CONSTANTE (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''URL_WS_FIDELIDADE'',''URL de chamada do projeto Fidelidade'',''1'',''http://ipws:porta'',''1'',''1'',sysdate,''1'')'; exception when dup_val_on_index then null; end;