declare
    object_exists exception;
    pragma exception_init (object_exists , -00955);
begin
  execute immediate
	'CREATE TABLE MD_LOG
    (
        EMPRESA_ID NUMBER(7),
        PUNTOVENTA_ID NUMBER(7),
        DATAMD VARCHAR(8),
        CONTA_ID NUMBER(7) NOT NULL,
        OBSERVACAO VARCHAR(200),
        VALOR NUMBER(12,2),
		ACTIVO NUMBER(1,0), 
        FECMODIF DATE
    )';
	  
  exception when object_exists then null;
end;