declare
    object_exists exception;
    pragma exception_init (object_exists , -00955);
begin
  execute immediate
	'CREATE TABLE FISCAL_ENVIO_FISCO (
		FISCALENVIOFISCO_ID NUMBER(15) NOT NULL,
        NUMSERIE20 VARCHAR2(20) NOT NULL,
        DATAMOV VARCHAR2(8) NOT NULL,
        ARQUIVO VARCHAR2(50) NOT NULL,
        RETORNO VARCHAR2(50)
    )';
 exception when object_exists then null;
end;
/
declare
    object_exists exception;
    pragma exception_init (object_exists , -00955);
begin
  execute immediate 'CREATE SEQUENCE FISCAL_ENVIO_FISCO_SEQ INCREMENT BY 1 START WITH 1 MAXVALUE 9999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER';	
  exception when object_exists then null;
end;