/*
  alt:85011 -elizeu - 03-07-18 Ouro Preto - CodigoMunicipio
*/
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010100188','Análise e desenvolvimento de sistemas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010200188','Programação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010200288','Customização de programas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300188','Processamento de dados', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300288','Provimento de acesso à internet', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300388','Provimento de conteúdo para a internet', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300488','Provimento de serviço de aplicação para internet', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300588','Hospedagem para a internet', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300688','Serviços de data center', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010300788','Outros serviços de processamento de dados', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010400188','Elaboração de programas de computadores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.04'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010400288','Elaboração de jogos eletrônicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.04'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010500188','Licenciamento ou cessão de direito de uso de programas de computação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010600188','Assessoria e Consultoria em informática', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.06'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010700188','Suporte técnico em informática, inclusive instalação, configuração e manutenção de programas de computação e banco de dados', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.07'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010800188','Planejamento de páginas eletrônicas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.08'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010800288','Confecção de páginas eletrônicas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.08'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010800388','Manutenção de páginas eletrônicas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.08'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'010800488','Atualização de páginas eletrônicas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '1.08'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'020100188','Serviços de pesquisas e desenvolvimento de qualquer natureza.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '2.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030200188','Cessão de direito de uso de sinais de propaganda', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030200288','Cessão de direito de uso de marca', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030200388','Cessão de direito de uso de som ou imagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300188','Exploração de salão de festas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300288','Exploração de centro de convenções', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300388','Exploração de escritório virtual', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300488','Exploração de stand', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300588','Exploração de quadra esportiva', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300688','Exploração de estádio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300788','Exploração de ginásio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300888','Exploração de auditório', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030300988','Exploração de casa de espetáculos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030301088','Exploração de parque de diversões', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030301188','Exploração de canchas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030301288','Serviços de locação e cessão de uso de espaços destinados instalação de stands ou box em shoppings populares, feiras shop e empreendimentos semelhantes, a cargo do proprietário do empreendimento.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030301388','Exploração de outras instalações para realização de eventos ou negócios de qualquer natureza.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030400188','Locação, sublocação, arrendamento, direito de passagem ou permissão de uso, compartilhado ou não, de ferrovia, rodovia, postes, cabos, dutos e condutos de qualquer natureza.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.04'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030500188','Cessão de andaimes', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030500288','Cessão de palco', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030500388','Cessão de coberturas ou tendas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'030500488','Cessão de outras estruturas de uso temporário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '3.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040100188','Medicina', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040100288','Biomedicina', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040100388','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de medicina e biomedicina', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040200188','Análises clínicas, patológicas, citopatológica, de material genético e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040200288','Radioterapia, quimioterapia, hemoterapia, litotripsia e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040200388','Radiologia, endoscopia, ultrassonografia, ressonância magnética, radiologia, tomografia, eletricidade médica, audiometria e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040200488','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de análises clínicas, patologia, citopatológica, eletricidade médica, radioterapia, quimioterapia, ultrassonografia, ressonância magnética, radiologia, tomografia, eletricidade médica, audiometria e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040300188','Serviços de hospitais, clínicas, sanatórios, manicômios, casas de saúde, prontos-socorros, ambulatórios e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040300288','Serviço de atendimento a pessoa portadora de deficiência prestado por clínica especializada.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040300388','Serviços de laboratório, exceto análises clínicas, patológicas, citopatológica e de material genético.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040300488','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de hospitais, clínicas, laboratórios, sanatórios, manicômios, casas de saúde, prontos-socorros, ambulatórios e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040400188','Instrumentação cirúrgica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040400288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de instrumentação cirúrgica.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040500188','Acupuntura', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040500288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de acupuntura.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040600188','Enfermagem, inclusive serviços auxiliares.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040600288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de enfermagem, inclusive serviços auxiliares.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040700188','Serviços de manipulação de fórmulas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040700288','Outros serviços farmacéuticos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040700388','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços farmacêuticos.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040800188','Terapia ocupacional, fisioterapia e fonoaudiologia.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040800288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de terapia ocupacional, fisioterapia e fonoaudiologia.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040900188','Terapias de qualquer espécie destinadas ao tratamento físico, orgânico e mental, inclusive RPG, reiki, shiatsu, cromoterapia e outras.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040900288','Serviços de reabilitação profissional', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'040900388','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de terapias de qualquer espécie destinadas ao tratamento físico, orgânico e mental.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041000188','Nutrição', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041000288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de nutrição.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041100188','Obstetrícia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041100288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de obstetrícia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041200188','Serviços odontológicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041200288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de odontologia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041300188','Ortóptica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041300288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de ortóptica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041400188','Confecção de próteses sob encomenda', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041400288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de próteses sob encomenda', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041500188','Psicanálise', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041500288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de psicanálise', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041600188','Psicologia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041600288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de psicologia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041700188','Serviços de casas de repouso e de recuperação, asilos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041700288','Serviços de creches ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041700388','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de casas de repouso e de recuperação, creches, asilos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041800188','Inseminação artificial, fertilização in vitro e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041800288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de inseminação artificial, fertilização in vitro e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041900188','Bancos de sangue, leite, pele, olhos, óvulos, sêmen e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.19'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'041900288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de bancos de sangue, leite, pele, olhos, óvulos, sêmen e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.19'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042000188','Coleta de sangue, leite, tecidos, sêmen, órgãos e materiais biológicos de qualquer espécie.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042000288','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde para prestação de serviços de coleta de sangue, leite, tecidos, sêmen, órgãos e materiais biológicos de qualquer espécie.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042100188','Unidade de atendimento, assistência, tratamento móvel, home care, e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042100288','Serviços de UTI móvel, ambulância e remoção, por via aérea ou terrestre, para atendimento, assistência ou tratamento à saúde humana.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042100388','Convênio ou contrato celebrado com o SUS - Sistema Único de Saúde, para prestação de serviço de unidade de atendimento, assistência, tratamento móvel, home care, e congêneres, bem como de UTI móvel, ambulância e remoção, por via aérea ou terrestre, para atendimento, assistência ou tratamento à saúde humana.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042200188','Planos de medicina de grupo ou individual e convênios para prestação de assistência médica, hospitalar, odontológica, e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.22'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'042300188','Outros planos de saúde que se cumpram através de serviços de terceiros contratados, credenciados, cooperados ou apenas pagos pelo operador do plano mediante indicação do beneficiário.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '4.23'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050100188','Medicina veterinária', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050100288','Zootecnia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050200188','Hospitais, clínicas, ambulatórios, prontos-socorros e congêneres, na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050300188','Serviços de laboratórios de análise na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050400188','Inseminação artificial, fertilização in vitro e congêneres na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050500188','Bancos de sangue e de órgãos e congêneres na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050600188','Coleta de sangue, leite, tecidos, sêmen, órgãos e materiais biológicos de qualquer espécie na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050700188','Unidade de atendimento, assistência ou tratamento móvel e congêneres na área veterinária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050800188','Guarda, alojamento ou serviço congêneres, para animais.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050800288','Tratamento, embelezamento, tosquia ou serviço congêneres, para animais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050800388','Amestramento de animais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050800488','Manejo de animais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'050900188','Planos de saúde e de atendimento e assistência médico-veterinária', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '5.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060100188','Barbearia, cabeleireiros, manicuros, pedicuros e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060200188','Serviços de depilação ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060200288','Serviços de esteticistas, maquiagem e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060200388','Serviços de tratamento de pele ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060200488','Tatuagem, piercing e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060300188','Banhos, duchas, sauna e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060300288','Serviço de massagem ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060300388','Exploração de sanitários, exceto banheiros químicos móveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060400188','Ginástica, musculação, dança, esportes, natação, artes marciais e demais atividades de condicionamento físico', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.04'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'060500188','Centros de emagrecimento, SPA e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '6.05'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100188','Engenharia, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100288','Agronomia, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100388','Agrimensura ou congêneres, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100488','Arquitetura, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100588','Geologia, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100688','Urbanismo ou congêneres, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070100788','Paisagismo ou congêneres, exceto execução material de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200188','Construção de edificações residenciais de qualquer tipo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200288','Construção de edificações comerciais de qualquer tipo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200388','Construção de edificações industriais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200488','Construção de edificações destinadas a usos diversos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200588','Montagem de edificações pré-moldadas ou pré-fabricadas de qualquer material e de natureza permanente.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200688','Execução de obras em geral por contrato de administração', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200788','Construção de rodovias, ruas e de outras vias, inclusive de praças, pontes, viadutos, túneis, elevados, calçadas, passarelas, pistas de aeroportos e locais para estacionamentos de veículos.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200888','Construção de vias férreas de superfície ou subterrâneas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070200988','Construção de pistas de aeroportos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201088','Pavimentação ou recapeamento de rodovias, ruas e outras vias, inclusive de praças, pontes, viadutos, túneis, elevados, calçadas, passarelas, pistas de aeroportos e locais para estacionamentos de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201188','Execução de sinalização com pintura em rodovias, ruas e outras vias, inclusive em praças, pontes, viadutos, túneis, elevados, passarelas, calçadas, pistas de aeroportos e locais para estacionamentos de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201288','Instalação de dispositivos de sinalização em obras de edificações, rodovias, ruas e outras vias, inclusive em praças, pontes, viadutos, túneis, elevados, calçadas, passarelas, pistas de aeroportos e locais para estacionamentos de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201388','Construção de barragens, represas, canais, diques e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201488','Construção de usinas, estações e subestações hidrelétricas, eólicas, nucleares, termoelétricas e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201588','Construção de redes de transmissão e distribuição de energia elétrica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201688','Obras para implantação de serviços de telecomunicações, inclusive instalação de equipamentos, torres, antenas e complementos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201788','Construção de redes de telecomunicações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201888','Construção de sistemas para o abastecimento de água, inclusive reservatórios de distribuição, estações elevatórias de bombeamento, linhas principais de adução e redes de distribuição de água', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070201988','Construção de redes de coleta de esgoto, inclusive de interceptores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202088','Construção de estações de tratamento de esgoto', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202188','Construção de estações de bombeamento de esgoto', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202288','Construção de galerias pluviais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202388','Obras de irrigação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202488','Construção de redes de transporte por dutos, tais como oleodutos, gasodutos, minerodutos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202588','Construção de portos, marinas, eclusas, canais de navegação e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202688','Obras de enrocamentos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202788','Obras de aterro, exceto sanitário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202888','Montagem de estruturas metálicas permanentes em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070202988','Montagem e desmontagem de fôrmas para concreto em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203088','Obras de montagem de instalações industriais tais como refinarias, indústrias químicas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203188','Montagem ou instalação de equipamentos incorporados às construções, como elevadores, escadas e esteiras rolantes, portas automáticas e giratórias e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203288','Serviços de operação e fornecimento de equipamentos para transporte e elevação de cargas e pessoas para uso em obras', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203388','Serviços de escavação, transporte, depósito, nivelamento e compactação de terras, para realização de uma obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203488','Os derrocamentos ou desmonte de rochas, exceto para exploração e explotação de recursos minerais.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203588','Obras de terraplanagem para construção civil, inclusive a disponibilização de máquinas ou equipamentos com operador para este fim', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203688','Drenagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203788','Rebaixamento de lençóis freáticos.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203888','Sondagens, perfurações e furos, exceto para exploração e explotação de recursos minerais.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070203988','Perfuração e construção de poços artesianos , cisternas, fossas e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204088','Execução de fundações diversas para edifícios e outras obras de engenharia civil, inclusive a cravação de estacas e a disponibilização de máquinas ou equipamentos com operador para estes fins', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204188','Concretagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204288','Impermeabilização em edifícios e outras obras de engenharia civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204388','Construção de dutos, condutos e cabeamento para instalações telefônicas, redes de informática, televisão e comunicações.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204488','Construção de sistemas de eletricidade, iluminação e para-raios em imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204588','Construção de sistemas de iluminação e sinalização em vias e próprios públicos, rodovias, ferrovias, portos, aeroportos e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204688','Construção de redes para distribuição de gases e fluidos diversos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204788','Construção de sistemas de alarme, prevenção e proteção contra incêndio.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204888','Construção de sistemas de aquecimento de água, ambientes e congêneres em imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070204988','Execução de obras hidráulicas e sanitárias', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205088','Construção de sistemas de refrigeração central em imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205188','Obras de alvenaria, chapisco, emboço e reboco', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205288','Colocação de revestimentos de cerâmica, azulejo, mármore, granito, pedras e outros materiais em obras de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205388','Instalação de esquadrias de metal, de madeira ou de qualquer outro material em obra de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205488','Colocação de vidros, cristais e espelhos em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205588','Instalação de revestimento em dutos e tubulações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205688','Serviços de pintura em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205788','Execução de trabalhos em madeira em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205888','Serviços de acabamento em gesso, estuque e outros materiais em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070205988','Outras obras de engenharia não especificadas anteriormente', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070206088','Tratamentos térmicos, acústicos ou de vibração', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070300188','Elaboração de planos diretores relacionados com serviços e obras de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070300288','Elaboração de estudos de viabilidade relacionados com serviços e obras de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070300388','Elaboração de estudos organizacionais e outros, relacionados com serviços e obras de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070300488','Elaboração de anteprojetos, projetos básicos e projetos executivos para trabalhos de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070300588','Outros serviços de engenharia consultiva relacionados com serviços e obras de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070400188','Demolição e desmonte de estruturas e construções', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500188','Reparação, conservação e reforma de edifícios e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500288','Reparação, conservação e reforma de estradas, pontes, viadutos, tuneis e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500388','Operação "tapa buracos" em vias em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500488','Reparação, conservação e reforma de portos e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500588','Reparação, conservação e reforma de imóveis em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500688','Execução de reforço de fundações para edifícios e outras obras de engenharia civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500788','Reparação, conservação e reforma de ruas e de outros logradouros, inclusive de praças, pontes, viadutos, túneis, elevados, calçadas, passarelas, pistas de aeroportos e locais para estacionamentos de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500888','Reparação, conservação e reforma de vias férreas de superfície ou subterrâneas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070500988','Reparação, conservação e reforma de sinalização com pintura em rodovias, ruas e outras vias, inclusive em praças, pontes, viadutos, túneis, elevados, passarelas, calçadas, pistas de aeroportos e locais para estacionamentos de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501088','Reparação, conservação e reforma de barragens, represas, canais, diques e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501188','Reparação, conservação e reforma de usinas, estações e subestações hidrelétricas, eólicas, nucleares, termoelétricas e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501288','Reparação, conservação e reforma de redes de transmissão e distribuição de energia elétrica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501388','Reparação, conservação e reforma de sistemas para o abastecimento de água, inclusive reservatórios de distribuição, estações elevatórias de bombeamento, linhas principais de adução e redes de distribuição de água', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501488','Reparação e reforma de redes de coleta, estações de tratamento e bombeamento de esgoto, inclusive de interceptores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501588','Reparação e reforma de galerias pluviais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501688','Reparação e reforma de redes de transporte por dutos, tais como oleodutos, gasodutos e minerodutos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501788','Reparação e reforma de dutos, condutos e cabeamento para instalações telefônicas, redes de informática, televisão e comunicações.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501888','Reparação, conservação e reforma de portos, marinas, eclusas, canais de navegação e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070501988','Reparação e reforma de estruturas metálicas permanentes em obras de construção civil', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070502088','Reparação e reforma de redes para distribuição de gases e fluidos diversos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070502188','Reparação e reforma de isolamentos térmicos, acústicos ou de vibração', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600188','Colocação de tapetes, carpetes, assoalhos, piso flutuante e congêneres, com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600288','Instalação de cortinas com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600388','Colocação de revestimentos de parede com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600488','Instalação de vidros com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600588','Instalação de divisórias com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600688','Instalação de placas de gesso com material fornecido pelo tomador do serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070600788','Instalações de acessórios e complementos em bens imóveis com material fornecido pelo tomador do serviço', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070700188','Recuperação, raspagem, polimento, lustração de pisos e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070700288','Aplicação de sinteco', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070800188','Calafetação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900188','Varrição de lixo, rejeitos e outros resíduos quaisquer.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900288','Coleta e remoção de lixo, entulhos, rejeitos e outros resíduos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900388','Coleta e remoção de lixo, entulhos, rejeitos e outros resíduos quaisquer por meio de caçambas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900488','Incineração, tratamento, reciclagem e separação de lixo, rejeitos e outros resíduos quaisquer.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900588','Coleta, tratamento ou remoção de rejeitos e outros resíduos quaisquer por meio de banheiros químicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900688','Destinação final de lixo, rejeitos e outros resíduos quaisquer, inclusive aterro sanitário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900788','Gestão de redes de esgoto', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'070900888','Descontaminação e outros serviços de gestão de resíduos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071000188','Limpeza de vias e logradouros públicos, parques, jardins e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071000288','Limpeza de imóveis, chaminés, piscinas e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071000388','Manutenção e conservação de vias e logradouros.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071000488','Manutenção e conservação de imóveis, chaminés, piscinas, parques, jardins e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071100188','Decoração', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071100288','Jardinagem, inclusive corte e poda de árvores.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071200188','Controle e tratamento de efluentes de qualquer natureza e de agentes físicos, químicos e biológicos.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071300188','Dedetização, desinfecção, desinsetização, imunização, higienização, desratização e congêneres em bens imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071300288','Pulverização e controle de pragas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071600188','Florestamento, reflorestamento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071600288','Adubação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071600388','Semeadura', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071600488','Outros serviços de agricultura e congêneres tais como plantio, colheita, desmatamento, destocamento.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071700188','Escoramento e serviços congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071700288','Contenção de encostas e serviços congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071800188','Limpeza e dragagem de rios, portos, canais, baías, lagos, lagoas, represas, açudes e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'071900188','Acompanhamento e fiscalização da execução de obras de engenharia, arquitetura e urbanismo realizados no local da obra (não vinculado a liberação de crédito próprio)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.19'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072000188','Aerofotogrametria, inclusive interpretação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072000288','Cartografia, geográficos, mapeamento ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072000388','Levantamentos topográficos ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072000488','Levantamentos batimétricos ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072000588','Levantamentos geodésicos, geológicos, geofísicos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072100188','Pesquisa, perfuração, cimentação, mergulho, perfilagem, concretação, testemunhagem, pescaria, estimulação e outros serviços relacionados com a exploração e explotação de petróleo ou gás natural.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072100288','Serviços relacionados com a exploração recursos minerais, exceto petróleo e gás natural.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'072200188','Nucleação e bombardeamento de nuvens e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '7.22'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080100188','Ensino pré-escolar', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080100288','Ensino fundamental e médio, inclusive supletivo, técnico e tecnológico', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080100388','Ensino superior, pós graduação, mestrado, doutorado e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080100488','Ensino regular à distância', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080100588','Serviços de intercâmbio cultural, educacional, profissional e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200188','Instrução e treinamento, avaliação de conhecimentos de quaisquer natureza', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200288','Cursos preparatórios para concursos, inclusive pré-vestibular', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200388','Orientação pedagógica, educacional e avaliação de conhecimentos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200488','Cursos técnicos, tecnológicos e profissionalizantes em geral, exceto se ensino regular', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200588','Cursos de música, dança, artes plásticas, cênicas, visuais, circense e outros cursos de arte e cultura em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200688','Cursos de natação, artes marciais, mergulho, equitação, futebol, tênis, voleibol, alpinismo e outros cursos de esporte em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200788','Cursos de idiomas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200888','Curso de formação de condutores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080200988','Curso de pilotagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080201088','Cursos de informática', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'080201188','Treinamento e instrução à distância', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '8.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090100188','Hospedagem em hotel, pousada, pensão, albergue, hospedaria, camping e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090100288','Hospedagem em apart-hotel, apart-service condominial, flat, hotel residência, residence-service, suíte service, flat-hotel ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090100388','Motéis, drive-in e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090200188','Agenciamento, intermediação e promoção de pacotes e programas turísticos, passeios, viagens, excursões, hospedagens, reservas e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090200288','Organização e execução de pacotes e programas turísticos, passeios, viagens, excursões, traslados e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'090300188','Guia de turismo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '9.03'),5);

INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100188','Agenciamento, corretagem e intermediação de planos de saúde', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100288','Agenciamentode câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100388','Corretagem de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100488','Intermediação de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100588','Agenciamentode seguros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100688','Corretagem de seguros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100788','Intermediação de seguros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100888','Agenciamento de cartões de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100100988','Corretagem de cartões de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100101088','Intermediação de cartões de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100101188','Agenciamento de planos de previdência privada', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100101288','Corretagem de planos de previdência privada', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100101388','Intermediação de planos de previdência privada', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200188','Agenciamento de títulos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200288','Corretagem de títulos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200388','Intermediação de títulos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200488','Agenciamento de valores mobiliários', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200588','Corretagem de valores mobiliários', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200688','Intermediação de valores mobiliários', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200788','Agenciamento de contratos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200888','Corretagem de contratos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100200988','Intermediação de contratos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100300188','Agenciamento, corretagem ou intermediação de direitos de propriedade industrial, artística ou literária.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400188','Agenciamento de contratos de arrendamento mercantil (leasing)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400288','Corretagem de contratos de arrendamento mercantil (leasing)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400388','Intermediação de contratos de arrendamento mercantil (leasing)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400488','Agenciamento de contratos de “faturização” (factoring)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400588','Corretagem de contratos de “faturização” (factoring)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100400688','Intermediação de contratos de “faturização” (factoring)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500188','Agenciamento de bens móveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500288','Corretagem de bens móveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500388','Intermediação de bens móveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500488','Agenciamento de bens imóveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500588','Corretagem de bens imóveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500688','Intermediação de bens imóveis não abrangidos em outros itens / subitens', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500788','Agenciamento no âmbito de Bolsas de Mercadorias e Futuros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500888','Corretagem no âmbito de Bolsas de Mercadorias e Futuros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100500988','Intermediação no âmbito de Bolsas de Mercadorias e Futuros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100501088','Serviços de intermediação ou agenciamento de venda de produto ou serviço, realizados mediante centrais de teleatendimento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100600188','Agenciamento marítimo.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100700188','Agenciamento de notícias.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100800188','Agenciamento de publicidade e propaganda, inclusive o agenciamento de veiculação por quaisquer meios.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'100900188','Representação de qualquer natureza, inclusive comercial.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'101000188','Distribuição de bens de terceiros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '10.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'110100188','Guarda e estacionamento de veículos terrestres automotores, de aeronaves e de embarcações.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '11.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'110200188','Vigilância, segurança ou monitoramento de bens e pessoas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '11.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'110300188','Escolta, inclusive de veículos e cargas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '11.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'110400188','Armazenamento, depósito e guarda de bens de qualquer espécie', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '11.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'110400288','Carga, descarga e arrumação de bens de qualquer espécie', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '11.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120100188','Espetáculos teatrais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120200188','Exibições cinematográficas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120300188','Espetáculos circenses', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120400188','Programas de auditório', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120500188','Parques de diversões, centros de lazer e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120600188','Boates, taxi-dancing, night-club, danceterias, casas noturnas, bares, restaurantes dançantes e outros estabelecimentos similares com cobrança de ingresso, couvert artístico e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120600288','Gestão de espaços para artes cênicas, espetáculos e outras atividades artísticas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120700188','Shows, ballet, danças, desfiles, bailes, óperas, concertos, recitais, festivais e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120700288','Serviços de iluminação, sonorização para casa de espetáculos e ou atividades artísticas, inclusive iluminação cênica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120800188','Feiras, exposições, congressos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120800288','Serviços de iluminação, sonorização de Feiras, exposições, congressos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120900188','Bilhar, sinuca, pebolim e outros jogos não eletrônicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120900288','Exploração de karts', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120900388','Boliche.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'120900488','Divertimento eletrônico, inclusive vitrola automática, cabines privê, jogos por computador, videogames, videokê e demais equipamentos acionados por fichas, cartões, ou quaisquer outros dispositivos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121000188','Corridas e competições de animais.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121100188','Competições esportivas ou de destreza física ou intelectual, com ou sem a participação do espectador.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121200188','Execução de música, individualmente ou por conjunto.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121300188','Produção, mediante ou sem encomenda prévia, de eventos, espetáculos, entrevistas, shows, ballet, danças, desfiles, bailes, teatros, óperas, concertos, recitais, festivais e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121400188','Fornecimento de música para ambientes fechados ou não, mediante transmissão por qualquer processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121500188','Desfiles de blocos carnavalescos ou folclóricos, trios elétricos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121600188','Exibição de filmes, entrevistas, musicais, espetáculos, shows, concertos, desfiles, óperas, competições esportivas, de destreza intelectual ou congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'121700188','Recreação e animação, inclusive em festas e eventos de qualquer natureza.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '12.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130200188','Gravação, trucagem, reprodução, edição e mixagem de sons, fonografia, e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130200288','Dublagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130300188','Gravação, trucagem, reprodução e mixagem de vídeos, filmes, e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130300288','Filmagens de festas e eventos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130300388','Fotografia e cinematografia, inclusive revelação, ampliação, cópia, reprodução, trucagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130400188','Serviços de reprografia em geral, inclusive plotagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130400288','Serviços de microfilmagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130400388','Serviços de digitalização', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130500188','Fotocomposição, clicheria, zincografia, litografia, fotolitografia e outras matrizes gráficas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130500288','Impressão e confecção de impressos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130500388','Serigrafia (silk-screen) e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'130500488','Acabamento gráfico em geral, inclusive corte, recorte, dobra e perfuração', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '13.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100188','Lubrificação, limpeza, lustração, revisão, conserto, restauração, blindagem, manutenção e conservação de motores, máquinas, aparelhos, equipamentos ou de qualquer objeto (exceto peças e partes empregadas, que ficam sujeitas ao ICMS).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100288','Lubrificação, limpeza, lustração, revisão, conserto, restauração, blindagem, alinhamento, balanceamento, manutenção e conservação de embarcações, aeronaves e veículosem geral (exceto peças e partes empregadas, que ficam sujeitas ao ICMS).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100388','Lubrificação, limpeza, lustração, revisão, conserto, restauração, blindagem, manutenção e conservação de elevadores, esteiras, escadas rolantes e de outros equipamentos de transporte e elevação (exceto peças e partes empregadas, que ficam sujeitas ao ICMS).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100488','Carga e recarga de extintores, cilindros, cartuchos de impressão e outros objetos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100588','Manutenção e conserto de aparelhos, equipamentos e máquinas de estações e de redes elétricas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100688','Manutenção e conserto de aparelhos, de equipamentos e máquinas de estações e de redes de telecomunicações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100788','Manutenção e conserto de aparelhos, equipamentos e máquinas de estações e de redes hidráulicas e de combustíveis em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100888','Manutenção e conserto de aparelhos, equipamentos e máquinas de sistemas de climatização em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140100988','Manutenção e conserto de aparelhos, computadores e outros equipamentos e aparelhos de informática e de telecomunicação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140200188','Assistência técnica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140300188','Retifica e recondicionamento de motores (exceto peças e partes empregadas, que ficam sujeitas ao ICMS).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140400188','Recauchutagem ou regeneração de pneus, inclusive serviços de borracharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500188','Restauração, recondicionamento, e congêneres de objetos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500288','Pintura, polimento, envelopamento e tratamento de superfície de aeronaves, embarcações e veículos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500388','Pintura, tingimento, secagem, polimento e tratamento de superfície de objetos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500488','Beneficiamento de objetos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500588','Lavagem, higienização e imunização de aeronaves, embarcações e veículos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500688','Lavagem, higienização, imunização e esterilização de objetos quaisquer, exceto tecidos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500788','Galvanoplastia, anodização, cromagem, zincagem, tratamento e revestimento em geral de metais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500888','Restauração de objetos de arte', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140500988','Recondicionamento de baterias', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140501088','Usinagem, solda, corte, recorte, dobra, estiramento e torneamento de objetos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140501188','Plastificação em objetos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140501288','Acondicionamento, envasamento, empacotamento e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140600188','Instalação ou montagem de aparelhos, máquinas e equipamentos, inclusive em plantas industriais, prestados ao usuário final, exclusivamente com material por ele fornecido.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140600288','Instalação ou montagem de painéis, stands e outras estruturas móveis, prestados ao usuário final, exclusivamente com material por ele fornecido', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140600388','Instalação de acessórios em geral para veículos, prestada ao usuário final exclusivamente com material por ele fornecido.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140700188','Colocação de molduras e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140800188','Encadernação, gravação e douração de livros, revistas e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'140900188','Alfaiataria, confecção de roupas sob medida, costura, bordado, conserto de roupas, pintura de tecidos e congêneres quando o material for fornecido pelo usuário final, exceto aviamento.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141000188','Tinturaria', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141000288','Lavanderia, inclusive secagem e higienização', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141100188','Tapeçaria e reforma de estofamentos em geral.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141200188','Funilaria e lanternagem.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141300188','Carpintaria', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'141300288','Serralheria', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '14.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150100188','Administração de fundos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150100288','Administração de consórcio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150100388','Administração de cartão de crédito ou débito e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150100488','Administração de carteira de clientes', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150100588','Administração de cheques pré-datados e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200188','Abertura de conta-corrente no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200288','Abertura de contas de investimentos e aplicação no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200388','Abertura de conta de poupança no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200488','Abertura de contas em geral no país não abrangidas em outros itens/subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200588','Abertura de conta-corrente no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200688','Abertura de contas de investimentos e aplicação no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200788','Abertura de conta de poupança no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200888','Abertura de contas em geral no exterior não abrangidas em outros itens / subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150200988','Manutenção de conta-corrente no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201088','Manutenção de contas de investimentos e aplicação no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201188','Manutenção de conta de poupança no país', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201288','Manutenção de contas em geral no país não abrangidas em outros itens / subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201388','Manutenção de conta-corrente no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201488','Manutenção de contas de investimentos e aplicação no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201588','Manutenção de conta de poupança no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150201688','Manutenção de contas em geral no exterior não abrangidas em outros itens / subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300188','Locação de cofres particulares', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300288','Manutenção de cofres particulares', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300388','Locação de terminais eletrônicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300488','Manutenção de terminais eletrônicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300588','Locação de terminais de atendimento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300688','Manutenção de terminais de atendimento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300788','Locação de bens e equipamentos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150300888','Manutenção de bens e equipamentos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150400188','Fornecimento e emissão de atestado de idoneidade', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150400288','Fornecimento e emissão de atestado de capacidade financeira e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150400388','Fornecimento e emissão de atestados em geral não abrangidas em outros itens/subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150500188','Cadastro, elaboração e renovação de ficha cadastral e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150500288','Inclusão no cadastro de emitentes de cheques sem fundos-ccf', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150500388','Exclusão do cadastro de emitentes de cheques sem fundos-ccf', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150500488','Inclusão no cadastro de outros bancos cadastrais quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150500588','Exclusão do cadastro de outros bancos cadastrais quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600188','Emissão, reemissão e fornecimento de avisos.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600288','Emissão, reemissão e fornecimento de comprovantes', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600388','Emissão, reemissão e fornecimento de documentos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600488','Abono de firmas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600588','Coleta de documentos, bens e valores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600688','Entrega de documentos, bens e valores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600788','Comunicação com outra agência', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600888','Comunicação com a administração central', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150600988','Licenciamento eletrônico de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150601088','Transferência de veículos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150601188','Agenciamento fiduciário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150601288','Agenciamento depositário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150601388','Devolução de bens em custódia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700188','Acesso, movimentação, atendimento e consulta a contas em geral por telefone', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700288','Acesso, movimentação, atendimento e consulta a contas em geral por fac-símile', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700388','Acesso, movimentação, atendimento e consulta a contas em geral via internet', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700488','Acesso, movimentação, atendimento e consulta a contas por telex', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700588','Acesso, movimentação, atendimento e consulta a contas em geral, por qualquer meio ou processo não abrangidos em outros itens/subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700688','Acesso a terminais de atendimento, inclusive 24 horas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700788','Acesso a outro banco', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700888','Acesso à rede compartilhada', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150700988','Fornecimento de saldo, extrato e demais informações relativas a contas em geral, por qualquer meio ou processo não abrangidos em outros itens/subitens.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150701088','Pacote / cesta de serviços bancários', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.07'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800188','Emissão e reemissão de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800288','Alteração de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800388','Cessão de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800488','Substituição de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800588','Cancelamento de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800688','Registro de contrato de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800788','Estudo, análise e avaliação de operações de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800888','Emissão de aval, fiança, anuência e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150800988','Alteração de aval, fiança, anuência e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150801088','Contratação de aval, fiança, anuência e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150801188','Concessão de aval, fiança, anuência e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150801288','Serviços relativos a abertura de crédito não abrangidas em outros itens/subitens, para quaisquer fins', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900188','Arrendamento mercantil (leasing) de quaisquer bens, inclusive cessão de direitos e obrigações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900288','Substituição de garantia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900388','Alteração de contrato de leasing', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900488','Cancelamento de contrato de leasing', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900588','Registro de contrato de leasing', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'150900688','Demais serviços relacionados ao arrendamento mercantil (leasing)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000188','Serviços relacionados a cobranças e recebimentos em geral de títulos quaisquer efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000288','Serviços relacionados a cobranças e recebimentos de contas em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000388','Serviços relacionados a cobranças e recebimentos de carnês em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000488','Serviços relacionados a cobranças e recebimentos de câmbio em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000588','Serviços relacionados a recebimentos de tributos em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000688','Serviços relacionados a cobranças e recebimentos por conta de terceiros em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000788','Serviços relacionados a pagamentos em geral de títulos quaisquer efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000888','Serviços relacionados a pagamentos de contas em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151000988','Serviços relacionados a pagamentos de carnês em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001088','Serviços relacionados a pagamentos de câmbio em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001188','Serviços relacionados a pagamentos de tributos em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001288','Serviços relacionados a pagamentos por conta de terceiros em geral efetuados por qualquer meio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001388','Fornecimento de posição de cobrança', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001488','Fornecimento de posição de recebimento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001588','Fornecimento de posição de pagamento', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001688','Emissão de carnês', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001788','Emissão de fichas de compensação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151001888','Emissão de impressos e documentos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100188','Devolução de títulos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100288','Protesto de títulos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100388','Sustação de protesto', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100488','Manutenção de títulos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100588','Reapresentação de títulos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151100688','Demais serviços relacionados a títulos em cobrança', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151200188','Custódia em geral, inclusive de títulos e valores mobiliários', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300188','Edição de contrato de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300288','Alteração de contrato de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300388','Prorrogação de contrato de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300488','Cancelamento de contrato de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300588','Baixa de contrato de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300688','Emissão de registro de exportação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300788','Emissão de registro de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300888','Cobrança no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151300988','Depósito no exterior', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301088','Emissão e fornecimento de cheques de viagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301188','Cancelamento de cheques de viagem', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301288','Fornecimento de carta de crédito de importação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301388','Transferência de carta de crédito de importação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301488','Cancelamento de carta de crédito de importação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301588','Demais serviços relativos à carta de crédito de importação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301688','Fornecimento de carta de crédito de exportação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301788','Transferência de carta de crédito de exportação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301888','Cancelamento de carta de crédito de exportação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151301988','Demais serviços relativos à carta de crédito de exportação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151302088','Serviços relativos a garantias recebidas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151302188','Envio de mensagens em geral relacionadas a operações de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151302288','Recebimento de mensagens em geral relacionadas a operações de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151302388','Demais serviços relacionados à operação de câmbio', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400188','Fornecimento, emissão e reemissão de cartão magnético', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400288','Renovação de cartão magnético', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400388','Manutenção de cartão magnético', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400488','Fornecimento, emissão e reemissão de cartão de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400588','Renovação de cartão de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400688','Manutenção de cartão de crédito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400788','Fornecimento, emissão e reemissão de cartão de débito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400888','Renovação de cartão de débito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151400988','Manutenção de cartão de débito', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401088','Fornecimento, emissão e reemissão de cartão salário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401188','Renovação de cartão salário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401288','Manutenção de cartão salário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401388','Fornecimento, emissão e reemissão de cartões congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401488','Renovação de cartões congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151401588','Manutenção de cartões congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151500188','Compensação de cheques', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151500288','Compensação de títulos quaisquer', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151500388','Serviços relacionados a depósito, inclusive depósito identificado', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151500488','Serviços relacionados a saque de contas quaisquer, por qualquer meio ou processo.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600188','Emissão / reemissão de ordens de pagamento, ordens de crédito e similares, por qualquer meio ou processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600288','Liquidação de ordens de pagamento, ordens de crédito e similares, por qualquer meio ou processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600388','Alteração de ordens de pagamento, ordens de crédito e similares, por qualquer meio ou processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600488','Cancelamento de ordens de pagamento, ordens de crédito e similares, por qualquer meio ou processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600588','Baixa de ordens de pagamento, ordens de crédito e similares, por qualquer meio ou processo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151600688','Serviços relacionados à transferência de valores, dados, fundos, pagamentos e similares, inclusive entre contas em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700188','Emissão de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700288','Fornecimento de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700388','Devolução de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700488','Sustação de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700588','Cancelamento de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151700688','Oposição de cheques quaisquer, avulso ou por talão', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800188','Avaliação de imóvel', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800288','Avaliação de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800388','Vistoria de imóvel', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800488','Vistoria de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800588','Análise técnica relacionada ao crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800688','Análise jurídica relacionada ao crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800788','Emissão / reemissão de contrato de crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800888','Alteração de contrato de crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151800988','Transferência de contrato de crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151801088','Renegociação de contrato de crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151801188','Emissão / reemissão de termo de quitação', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'151801288','Outros serviços relacionados ao crédito imobiliário', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '15.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100188','Transporte público urbano de passageiros prestado sob o regime de concessão ou permissão do poder público', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100288','Transporte público urbano de passageiros por taxi prestado sob o regime de concessão ou permissão do poder público', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100388','Transporte municipal por qualquer meio de passageiros em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100488','Transporte ferroviário ou metroviário municipal de passageiros prestado sob regime de concessão ou permissão do poder público', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100588','Transporte escolar', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100688','Serviços de mudança e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'160100788','Transporte municipal por qualquer meio de bens em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '16.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170100188','Assessoria de qualquer natureza', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170100288','Consultoria de qualquer natureza', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170100388','Análise, exame, fornecimento de dados e informações de qualquer natureza', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170100488','Pesquisa de opinião pública', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170200188','Serviços de expediente, tais como datilografia, digitação, estenografia, expediente, secretaria em geral, redação, edição, interpretação, revisão, tradução, e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170200288','Serviços de apoio e infra-estrutura administrativa e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170200388','Organização, arquivamento, conservação e gerenciamento de documentos de terceiros em quaisquer meios.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170200488','Resposta audível (central de telemarketing)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170200588','Outras atividades de teleatendimento, exceto centrais de telemarketing', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.02'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170300188','Serviços de planejamento, coordenação, programação ou organização técnica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170300288','Serviços de planejamento, coordenação, programação ou organização financeira', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170300388','Serviços de planejamento, coordenação, programação ou organização administrativa', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.03'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170400188','Recrutamento e seleção de mão de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170400288','Agenciamento de mão de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170400388','Colocação de mão de obra', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.04'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170500188','Fornecimento de mão-de-obra não temporária contratados pelo prestador do serviço', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170500288','Fornecimento de mão-de-obra em caráter temporário, inclusive de empregados ou trabalhadores, avulsos ou temporários, contratados pelo prestador de serviço.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.05'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170600188','Propaganda e publicidade, inclusive promoção de vendas, planejamento de campanhas ou sistemas de publicidade, elaboração de desenhos, textos e demais materiais publicitários.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170600288','Agenciamento e intermediação de veiculação de propaganda e publicidade, inclusive anúncios e publicações em geral.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.06'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170800188','Franquia (franchising)', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.08'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170900188','Serviços de perícias', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170900288','Serviços de laudos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170900388','Serviços de exames técnicos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'170900488','Serviços de análises técnicas', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.09'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171000188','Planejamento, organização e administração de feiras, exposições, congressos e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.10'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171100188','Organização de festas e recepções; bufê (exceto o fornecimento de alimentação e bebidas que fica sujeito ao ICMS).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171100288','Preparo de alimentos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.11'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171200188','Administração em geral de bens e negócios de terceiros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171200288','Administração de condomínios', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171200388','Administração em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171200488','Administração de frota de veículo', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171200588','Administração de imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.12'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171300188','Leilão e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.13'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171400188','Advocacia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.14'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171500188','Arbitragem de qualquer espécie, inclusive jurídica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.15'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171600188','Auditoria', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.16'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171700188','Análise de organização e métodos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.17'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171800188','Atuária e cálculos técnicos de qualquer natureza.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.18'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'171900188','Contabilidade, inclusive serviços técnicos e auxiliares', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.19'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172000188','Consultoria econômica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172000288','Assessoria econômica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172000388','Consultoria financeira', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172000488','Assessoria financeira', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.20'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172100188','Estatística', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.21'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172200188','Cobrança em geral.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.22'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172300188','Assessoria, análise, avaliação, atendimento, consulta, cadastro, seleção, gerenciamento de informações, administração de contas a receber ou a pagar e em geral, relacionados a operações de faturização (factoring).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.23'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'172400188','Apresentação de palestras, conferências, seminários e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '17.24'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'180100188','Serviços de regulação de sinistros vinculados a contratos de seguros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '18.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'180100288','Serviços de Inspeção e avaliação de riscos para cobertura de contratos de seguros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '18.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'180100388','Serviços de prevenção e gerência de riscos seguráveis e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '18.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'180100488','Gestão em co-seguro', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '18.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'190100188','Serviços de distribuição de bilhetes e demais produtos de loteria, bingos, cartões, pules ou cupons de apostas, sorteios, prêmios, inclusive os decorrentes de títulos de capitalização e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '19.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'190100288','Serviços de venda de bilhetes e demais produtos de loteria, bingos, cartões, pules ou cupons de apostas, sorteios, prêmios, inclusive os decorrentes de títulos de capitalização e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '19.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'200100188','Serviços portuários, ferroportuários, utilização de porto, movimentação de passageiros, reboque de embarcações, rebocador escoteiro, atracação, desatracação, serviços de praticagem, capatazia, armazenagem de qualquer natureza, serviços acessórios, movimentação de mercadorias, serviços de apoio marítmo, de movimentação ao largo, serviços de armadores, estiva, conferência, logística e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '20.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'200200188','Serviços aeroportuários, utilização de aeroporto, movimentação de passageiros, armazenagem de qualquer natureza, capatazia, movimentação de aeronaves, serviços de apoio aeroportuários, serviços acessórios, movimentação de mercadorias, logística e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '20.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'200300188','Serviços de terminais rodoviários, ferroviários, metroviários, movimentação de passageiros, mercadorias, inclusive suas operações, logística e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '20.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'210100188','Serviços de registros públicos, cartorários e notariais', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '21.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'220100188','Serviços de exploração de rodovia mediante cobrança de preço ou pedágio dos usuários, envolvendo execução de serviços de conservação, manutenção, melhoramentos para adequação de capacidade e segurança de trânsito, operação, monitoração, assistência aos usuários e outros serviços definidos em contratos, atos de concessão ou de permissão ou em normas oficiais.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '22.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'230100188','Serviços de programação e comunicação visual ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '23.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'230100288','Desenho industrial ou congênere, inclusive design de moda', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '23.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'240100188','Serviços de chaveiros', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '24.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'240100288','Confecção de carimbos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '24.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'240100388','Confecção de placas, de sinalização visual, banners, adesivos ou congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '24.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'250100188','Funerais, inclusive fornecimento de caixão, urna ou esquifes; aluguel de capela; transporte do corpo cadavérico; fornecimento de flores, coroas e outros paramentos; desembaraço de certidão de óbito; fornecimento de véu, essa e outros adornos; embalsamento, embelezamento, conservação ou restauração de cadáveres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '25.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'250200188','Cremação de partes e/ou corpos cadavéricos', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '25.02'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'250300188','Planos ou convênio funerários.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '25.03'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'250400188','Manutenção e conservação de jazigos e cemitérios.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '25.04'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100188','Serviços de coleta de bens ou valores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100288','Serviços de remessa de bens ou valores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100388','Serviços de entrega de bens ou valores', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100488','Serviços de courrier e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100588','Serviços de coleta, remessa ou entrega de correspondências, documentos, objetos, inclusive pelos correios e suas agências franqueadas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100688','Serviços de reboque e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100788','Serviços de coleta ou entrega prestados por motoboy e congêneres', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'260100888','Serviço de agenciamento prestados pelas Agências de Correios Franqueadas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '26.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'270100188','Serviços de assistência social', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '27.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'280100188','Serviços de avaliação de bens e serviços de qualquer natureza', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '28.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'280100288','Avaliação de imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '28.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'290100188','Serviços de biblioteconomia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '29.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'300100188','Serviços de biologia, biotecnologia e química.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '30.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100188','Serviços técnicos em edificações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100288','Serviços técnicos em eletrônica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100388','Serviços técnicos em eletrotécnica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100488','Serviços técnicos em mecânica', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100588','Serviços técnicos em telecomunicações', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100688','Serviços técnicos em geral', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'310100788','Instalações elétricas em bens imóveis', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '31.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'320100188','Serviços de desenhos técnicos em geral, inclusive arquitetônico e de engenharia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '32.01'),5);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'330100188','Serviços de desembaraço aduaneiro, comissários, despachantes e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '33.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'340100188','Serviços de investigações particulares, detetives e congêneres.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '34.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'350100188','Serviços de reportagem, assessoria de imprensa, jornalismo e relações públicas.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '35.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'360100188','Serviços de meteorologia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '36.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'370100188','Serviços de artistas, atletas, modelos e manequins.', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '37.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'380100188','Museologia', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '38.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'390100188','Serviços de ourivesaria e lapidação (quando o material for fornecido pelo tomador do serviço).', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '39.01'),3);
INSERT INTO TATVMUNICIPAL (BDCODATVM, BDCODCID, BDREFATVM, BDCODMUNATVM, BDDESCATVM, BDCODSER, BDALIQATVM) VALUES ((select coalesce(max(bdcodatvm),0)+1 from tatvmunicipal), 1885, 201804,'400100188','Serviços relativos a obras de arte sob encomenda', (select first 1 BDCODSER from TCODIGO_SERVICO where BDSERVICO = '40.01'),3);