declare
    object_exists exception;
    pragma exception_init (object_exists , -00955);
begin
  execute immediate
'CREATE TABLE EMPRESA_PMARTESP_CONFIG 
(
  EMPRESAPMARTESPCONFIG_ID NUMBER(8, 0) NOT NULL 
, VALIDACAO_ATIVA NUMBER(1, 0) 
, EMPRESA_ID NUMBER(7, 0) 
, URL_API VARCHAR2(500) 
, API_KEY VARCHAR2(4000) 
, ORGAOCONCEDENTE_ID NUMBER(7, 0)
, CATEGORIA_ID NUMBER(7, 0)
, ACTIVO NUMBER(1, 0) 
, FECMODIF DATE 
, USUARIO_ID NUMBER(7, 0) 
) ';
  exception when object_exists then null;
end;
/
declare
    object_exists exception;
    pragma exception_init (object_exists , -00955);
begin
  execute immediate 'CREATE SEQUENCE "EMPRESA_PMARTESP_CONFIG_SEQ" INCREMENT BY 1 START WITH 1 NOCACHE ORDER';	
  exception when object_exists then null;
end;
