EXECUTE BLOCK
AS
BEGIN

UPDATE TABELA_ICMS SET AC='19', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='AC';																											
UPDATE TABELA_ICMS SET AC='12', AL='19', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='AL';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='20', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='AM';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='18', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='AP';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='20.5', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='BA';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='20', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='CE';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='20', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='DF';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='17', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='ES';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='19', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='GO';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='22', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='MA';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='18', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='12', RJ='12', RN='7', RO='7', RR='12', RS='12', SC='12', SE='7', SP='7', T_O='7' WHERE ORIGEM='MG';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='17', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='MS';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='17', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='MT';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='19', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='PA';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='20', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='PB';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='20.5', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='PE';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='21', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='PI';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='12', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='19.5', RJ='7', RN='12', RO='7', RR='7', RS='12', SC='12', SE='7', SP='12', T_O='7' WHERE ORIGEM='PR';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='12', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='12', RJ='20', RN='7', RO='7', RR='7', RS='12', SC='12', SE='7', SP='12', T_O='7' WHERE ORIGEM='RJ';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='18', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='RN';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='19.5', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='RO';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='20', RS='12', SC='12', SE='12', SP='12', T_O='12' WHERE ORIGEM='RR';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='12', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='12', RJ='12', RN='7', RO='7', RR='7', RS='17', SC='12', SE='7', SP='12', T_O='7' WHERE ORIGEM='RS';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='12', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='12', RJ='12', RN='7', RO='7', RR='7', RS='12', SC='17', SE='7', SP='12', T_O='7' WHERE ORIGEM='SC';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='19', SP='12', T_O='12' WHERE ORIGEM='SE';																											
UPDATE TABELA_ICMS SET AC='7', AL='7', AM='7', AP='7', BA='7', CE='7', DF='7', ES='7', GO='7', MA='7', MG='12', MS='7', MT='7', PA='7', PB='7', PE='7', P_I='7', PR='12', RJ='12', RN='7', RO='7', RR='7', RS='12', SC='12', SE='7', SP='18', T_O='7' WHERE ORIGEM='SP';																											
UPDATE TABELA_ICMS SET AC='12', AL='12', AM='12', AP='12', BA='12', CE='12', DF='12', ES='12', GO='12', MA='12', MG='12', MS='12', MT='12', PA='12', PB='12', PE='12', P_I='12', PR='12', RJ='12', RN='12', RO='12', RR='12', RS='12', SC='12', SE='12', SP='12', T_O='20' WHERE ORIGEM='TO';																											

END