You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/word/新协航_设计文档/数据库建表文档/1.0/给code_country增加税率等级和三字节代码.sql

508 lines
65 KiB
MySQL

3 years ago
<EFBFBD><EFBFBD>/*
2013t^10g16<EFBFBD>e14:44:19
(u7b: sa
g<EFBFBD>RhV: DDLUCKYWORK-PC\MSSQLSERVER2008
penc<EFBFBD>^: ShippingWeb
<EFBFBD>^(u z<EFBFBD>^:
*/
/* :N<EFBFBD>N2<EFBFBD>bk<EFBFBD>NUO<EFBFBD>S<EFBFBD><EFBFBD><EFBFBD>Q<EFBFBD>s<EFBFBD>vpenc"N1Y<EFBFBD> <0C><>`<60>^<5E><>HQ<48>N<EFBFBD>~<7E>h<EFBFBD>gdk<1A>,g <0C>6qT<>Q(Wpenc<6E>^<5E><><EFBFBD><EFBFBD>hV<68>v
N N<EFBFBD>eKNYЏL<EFBFBD>dk<EFBFBD>,g0*/
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.code_country ADD
COUNTRYID_3 varchar(3) NULL,
Tariff tinyint NULL,
Tonnagetax tinyint NULL
GO
ALTER TABLE dbo.code_country SET (LOCK_ESCALATION = TABLE)
GO
COMMIT
------------------------------
delete from tSysEnumtype where enumtypeid=9000
delete from tsysenumvalue where enumtypeid=9000
insert into tSysEnumtype values(0,9000,'<00>V+Rz<>s',1)
insert into tSysEnumValue values(0,9000,0,'g<>`<60>V',0,1,1.00)
insert into tSysEnumValue values(0,9000,1,'nf<1A>',0,2,1.00)
------------------------------
update code_country set countryid_3='AND' where countryid='AD'
update code_country set countryid_3='ARE' where countryid='AE'
update code_country set countryid_3='AFG' where countryid='AF'
update code_country set countryid_3='ATG' where countryid='AG'
update code_country set countryid_3='AIA' where countryid='AI'
update code_country set countryid_3='ALB' where countryid='AL'
update code_country set countryid_3='ARM' where countryid='AM'
update code_country set countryid_3='ANT' where countryid='AN'
update code_country set countryid_3='AGO' where countryid='AO'
update code_country set countryid_3='ATA' where countryid='AQ'
update code_country set countryid_3='ARG' where countryid='AR'
update code_country set countryid_3='ASM' where countryid='AS'
update code_country set countryid_3='AUT' where countryid='AT'
update code_country set countryid_3='AUS' where countryid='AU'
update code_country set countryid_3='ABW' where countryid='AW'
update code_country set countryid_3='ALA' where countryid='AX'
update code_country set countryid_3='AZE' where countryid='AZ'
update code_country set countryid_3='BIH' where countryid='BA'
update code_country set countryid_3='BRB' where countryid='BB'
update code_country set countryid_3='BGD' where countryid='BD'
update code_country set countryid_3='BEL' where countryid='BE'
update code_country set countryid_3='BFA' where countryid='BF'
update code_country set countryid_3='BGR' where countryid='BG'
update code_country set countryid_3='BHR' where countryid='BH'
update code_country set countryid_3='BDI' where countryid='BI'
update code_country set countryid_3='BEN' where countryid='BJ'
update code_country set countryid_3='BLM' where countryid='BL'
update code_country set countryid_3='BMU' where countryid='BM'
update code_country set countryid_3='BRN' where countryid='BN'
update code_country set countryid_3='BOL' where countryid='BO'
update code_country set countryid_3='BRA' where countryid='BR'
update code_country set countryid_3='BHS' where countryid='BS'
update code_country set countryid_3='BTN' where countryid='BT'
update code_country set countryid_3='BVT' where countryid='BV'
update code_country set countryid_3='BWA' where countryid='BW'
update code_country set countryid_3='BLR' where countryid='BY'
update code_country set countryid_3='BLZ' where countryid='BZ'
update code_country set countryid_3='CAN' where countryid='CA'
update code_country set countryid_3='CCK' where countryid='CC'
update code_country set countryid_3='COD' where countryid='CD'
update code_country set countryid_3='CAF' where countryid='CF'
update code_country set countryid_3='COG' where countryid='CG'
update code_country set countryid_3='CHE' where countryid='CH'
update code_country set countryid_3='CIV' where countryid='CI'
update code_country set countryid_3='COK' where countryid='CK'
update code_country set countryid_3='CHL' where countryid='CL'
update code_country set countryid_3='CMR' where countryid='CM'
update code_country set countryid_3='CHN' where countryid='CN'
update code_country set countryid_3='COL' where countryid='CO'
update code_country set countryid_3='CRI' where countryid='CR'
update code_country set countryid_3='CUB' where countryid='CU'
update code_country set countryid_3='CPV' where countryid='CV'
update code_country set countryid_3='CXR' where countryid='CX'
update code_country set countryid_3='CYP' where countryid='CY'
update code_country set countryid_3='CZE' where countryid='CZ'
update code_country set countryid_3='DEU' where countryid='DE'
update code_country set countryid_3='DJI' where countryid='DJ'
update code_country set countryid_3='DNK' where countryid='DK'
update code_country set countryid_3='DMA' where countryid='DM'
update code_country set countryid_3='DOM' where countryid='DO'
update code_country set countryid_3='DZA' where countryid='DZ'
update code_country set countryid_3='ECU' where countryid='EC'
update code_country set countryid_3='EST' where countryid='EE'
update code_country set countryid_3='EGY' where countryid='EG'
update code_country set countryid_3='ESH' where countryid='EH'
update code_country set countryid_3='ERI' where countryid='ER'
update code_country set countryid_3='ESP' where countryid='ES'
update code_country set countryid_3='ETH' where countryid='ET'
update code_country set countryid_3='FIN' where countryid='FI'
update code_country set countryid_3='FJI' where countryid='FJ'
update code_country set countryid_3='FLK' where countryid='FK'
update code_country set countryid_3='FSM' where countryid='FM'
update code_country set countryid_3='FRO' where countryid='FO'
update code_country set countryid_3='FRA' where countryid='FR'
update code_country set countryid_3='GAB' where countryid='GA'
update code_country set countryid_3='GBR' where countryid='GB'
update code_country set countryid_3='GRD' where countryid='GD'
update code_country set countryid_3='GEO' where countryid='GE'
update code_country set countryid_3='GUF' where countryid='GF'
update code_country set countryid_3='GGY' where countryid='GG'
update code_country set countryid_3='GHA' where countryid='GH'
update code_country set countryid_3='GIB' where countryid='GI'
update code_country set countryid_3='GRL' where countryid='GL'
update code_country set countryid_3='GMB' where countryid='GM'
update code_country set countryid_3='GIN' where countryid='GN'
update code_country set countryid_3='GLP' where countryid='GP'
update code_country set countryid_3='GNQ' where countryid='GQ'
update code_country set countryid_3='GRC' where countryid='GR'
update code_country set countryid_3='SGS' where countryid='GS'
update code_country set countryid_3='GTM' where countryid='GT'
update code_country set countryid_3='GUM' where countryid='GU'
update code_country set countryid_3='GNB' where countryid='GW'
update code_country set countryid_3='GUY' where countryid='GY'
update code_country set countryid_3='HKG' where countryid='HK'
update code_country set countryid_3='HMD' where countryid='HM'
update code_country set countryid_3='HND' where countryid='HN'
update code_country set countryid_3='HRV' where countryid='HR'
update code_country set countryid_3='HTI' where countryid='HT'
update code_country set countryid_3='HUN' where countryid='HU'
update code_country set countryid_3='IDN' where countryid='ID'
update code_country set countryid_3='IRL' where countryid='IE'
update code_country set countryid_3='ISR' where countryid='IL'
update code_country set countryid_3='IMN' where countryid='IM'
update code_country set countryid_3='IND' where countryid='IN'
update code_country set countryid_3='IOT' where countryid='IO'
update code_country set countryid_3='IRQ' where countryid='IQ'
update code_country set countryid_3='IRN' where countryid='IR'
update code_country set countryid_3='ISL' where countryid='IS'
update code_country set countryid_3='ITA' where countryid='IT'
update code_country set countryid_3='JEY' where countryid='JE'
update code_country set countryid_3='JAM' where countryid='JM'
update code_country set countryid_3='JOR' where countryid='JO'
update code_country set countryid_3='JPN' where countryid='JP'
update code_country set countryid_3='KEN' where countryid='KE'
update code_country set countryid_3='KGZ' where countryid='KG'
update code_country set countryid_3='KHM' where countryid='KH'
update code_country set countryid_3='KIR' where countryid='KI'
update code_country set countryid_3='COM' where countryid='KM'
update code_country set countryid_3='KNA' where countryid='KN'
update code_country set countryid_3='PRK' where countryid='KP'
update code_country set countryid_3='KOR' where countryid='KR'
update code_country set countryid_3='KWT' where countryid='KW'
update code_country set countryid_3='CYM' where countryid='KY'
update code_country set countryid_3='KAZ' where countryid='KZ'
update code_country set countryid_3='LAO' where countryid='LA'
update code_country set countryid_3='LBN' where countryid='LB'
update code_country set countryid_3='LCA' where countryid='LC'
update code_country set countryid_3='LIE' where countryid='LI'
update code_country set countryid_3='LKA' where countryid='LK'
update code_country set countryid_3='LBR' where countryid='LR'
update code_country set countryid_3='LSO' where countryid='LS'
update code_country set countryid_3='LTU' where countryid='LT'
update code_country set countryid_3='LUX' where countryid='LU'
update code_country set countryid_3='LVA' where countryid='LV'
update code_country set countryid_3='LBY' where countryid='LY'
update code_country set countryid_3='MAR' where countryid='MA'
update code_country set countryid_3='MCO' where countryid='MC'
update code_country set countryid_3='MDA' where countryid='MD'
update code_country set countryid_3='MNE' where countryid='ME'
update code_country set countryid_3='MAF' where countryid='MF'
update code_country set countryid_3='MDG' where countryid='MG'
update code_country set countryid_3='MHL' where countryid='MH'
update code_country set countryid_3='MKD' where countryid='MK'
update code_country set countryid_3='MLI' where countryid='ML'
update code_country set countryid_3='MMR' where countryid='MM'
update code_country set countryid_3='MNG' where countryid='MN'
update code_country set countryid_3='MAC' where countryid='MO'
update code_country set countryid_3='MNP' where countryid='MP'
update code_country set countryid_3='MTQ' where countryid='MQ'
update code_country set countryid_3='MRT' where countryid='MR'
update code_country set countryid_3='MSR' where countryid='MS'
update code_country set countryid_3='MLT' where countryid='MT'
update code_country set countryid_3='MUS' where countryid='MU'
update code_country set countryid_3='MDV' where countryid='MV'
update code_country set countryid_3='MWI' where countryid='MW'
update code_country set countryid_3='MEX' where countryid='MX'
update code_country set countryid_3='MYS' where countryid='MY'
update code_country set countryid_3='MOZ' where countryid='MZ'
update code_country set countryid_3='NAM' where countryid='NA'
update code_country set countryid_3='NCL' where countryid='NC'
update code_country set countryid_3='NER' where countryid='NE'
update code_country set countryid_3='NFK' where countryid='NF'
update code_country set countryid_3='NGA' where countryid='NG'
update code_country set countryid_3='NIC' where countryid='NI'
update code_country set countryid_3='NLD' where countryid='NL'
update code_country set countryid_3='NOR' where countryid='NO'
update code_country set countryid_3='NPL' where countryid='NP'
update code_country set countryid_3='NRU' where countryid='NR'
update code_country set countryid_3='NIU' where countryid='NU'
update code_country set countryid_3='NZL' where countryid='NZ'
update code_country set countryid_3='OMN' where countryid='OM'
update code_country set countryid_3='PAN' where countryid='PA'
update code_country set countryid_3='PER' where countryid='PE'
update code_country set countryid_3='PYF' where countryid='PF'
update code_country set countryid_3='PNG' where countryid='PG'
update code_country set countryid_3='PHL' where countryid='PH'
update code_country set countryid_3='PAK' where countryid='PK'
update code_country set countryid_3='POL' where countryid='PL'
update code_country set countryid_3='SPM' where countryid='PM'
update code_country set countryid_3='PCN' where countryid='PN'
update code_country set countryid_3='PRI' where countryid='PR'
update code_country set countryid_3='PSE' where countryid='PS'
update code_country set countryid_3='PRT' where countryid='PT'
update code_country set countryid_3='PLW' where countryid='PW'
update code_country set countryid_3='PRY' where countryid='PY'
update code_country set countryid_3='QAT' where countryid='QA'
update code_country set countryid_3='REU' where countryid='RE'
update code_country set countryid_3='ROU' where countryid='RO'
update code_country set countryid_3='SRB' where countryid='RS'
update code_country set countryid_3='RUS' where countryid='RU'
update code_country set countryid_3='RWA' where countryid='RW'
update code_country set countryid_3='SAU' where countryid='SA'
update code_country set countryid_3='SLB' where countryid='SB'
update code_country set countryid_3='SYC' where countryid='SC'
update code_country set countryid_3='SDN' where countryid='SD'
update code_country set countryid_3='SWE' where countryid='SE'
update code_country set countryid_3='SGP' where countryid='SG'
update code_country set countryid_3='SHN' where countryid='SH'
update code_country set countryid_3='SVN' where countryid='SI'
update code_country set countryid_3='SJM' where countryid='SJ'
update code_country set countryid_3='SVK' where countryid='SK'
update code_country set countryid_3='SLE' where countryid='SL'
update code_country set countryid_3='SMR' where countryid='SM'
update code_country set countryid_3='SEN' where countryid='SN'
update code_country set countryid_3='SOM' where countryid='SO'
update code_country set countryid_3='SUR' where countryid='SR'
update code_country set countryid_3='STP' where countryid='ST'
update code_country set countryid_3='SLV' where countryid='SV'
update code_country set countryid_3='SYR' where countryid='SY'
update code_country set countryid_3='SWZ' where countryid='SZ'
update code_country set countryid_3='TCA' where countryid='TC'
update code_country set countryid_3='TCD' where countryid='TD'
update code_country set countryid_3='ATF' where countryid='TF'
update code_country set countryid_3='TGO' where countryid='TG'
update code_country set countryid_3='THA' where countryid='TH'
update code_country set countryid_3='TJK' where countryid='TJ'
update code_country set countryid_3='TKL' where countryid='TK'
update code_country set countryid_3='TLS' where countryid='TL'
update code_country set countryid_3='TKM' where countryid='TM'
update code_country set countryid_3='TUN' where countryid='TN'
update code_country set countryid_3='TON' where countryid='TO'
update code_country set countryid_3='TUR' where countryid='TR'
update code_country set countryid_3='TTO' where countryid='TT'
update code_country set countryid_3='TUV' where countryid='TV'
update code_country set countryid_3='TWN' where countryid='TW'
update code_country set countryid_3='TZA' where countryid='TZ'
update code_country set countryid_3='UKR' where countryid='UA'
update code_country set countryid_3='UGA' where countryid='UG'
update code_country set countryid_3='UMI' where countryid='UM'
update code_country set countryid_3='USA' where countryid='US'
update code_country set countryid_3='URY' where countryid='UY'
update code_country set countryid_3='UZB' where countryid='UZ'
update code_country set countryid_3='VAT' where countryid='VA'
update code_country set countryid_3='VCT' where countryid='VC'
update code_country set countryid_3='VEN' where countryid='VE'
update code_country set countryid_3='VGB' where countryid='VG'
update code_country set countryid_3='VIR' where countryid='VI'
update code_country set countryid_3='VNM' where countryid='VN'
update code_country set countryid_3='VUT' where countryid='VU'
update code_country set countryid_3='WLF' where countryid='WF'
update code_country set countryid_3='WSM' where countryid='WS'
update code_country set countryid_3='YEM' where countryid='YE'
update code_country set countryid_3='MYT' where countryid='YT'
update code_country set countryid_3='ZAF' where countryid='ZA'
update code_country set countryid_3='ZMB' where countryid='ZM'
update code_country set countryid_3='ZWE' where countryid='ZW'
---------------------------------
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='AFG'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BHR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='BGD'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='BTN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BRN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MMR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='KHM'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='CYP'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='PRK'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='HKG'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='IND'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='IDN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='IRN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='IRQ'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ISR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='JPN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='JOR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='KWT'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='LAO'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='LBN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MAC'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MYS'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MDV'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MNG'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NPL'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='OMN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='PAK'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='PSE'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='PHL'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='QAT'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SAU'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='SGP'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='KOR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='LKA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SYR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='THA'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='TUR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ARE'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='YEM'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='NVM'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='CHN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TWN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TLS'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='KAZ'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='KGZ'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TJK'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TKM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='UZB'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='DZA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='AGO'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BEN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BWA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BDI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CMR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CPV'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CAF'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TCD'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='COM'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='COG'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='DJI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='EGY'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GNQ'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ETH'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GAB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GMB'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='GHA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GIN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GNB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CIV'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='KEN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LBR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LBY'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MDG'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MWI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MLI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MRT'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MUS'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MAR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MOZ'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NAM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NER'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NGA'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='REU'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='RWA'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='STP'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SEN'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='SYC'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SLE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SOM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ZAF'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='ESH'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='SDN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TZA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TGO'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='TUN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='UGA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BFA'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='COD'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ZMB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ZWE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LSO'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SWZ'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ERI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MYT'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='BEL'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='DNK'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='GBR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='DEU'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='FRA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='IRL'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ITA'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='LUX'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='NLD'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='GRC'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PRT'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ESP'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ALB'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3=','
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='AUT'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='BGR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='FIN'
update code_country set Tariff= 1 , Tonnagetax= 0 where countryid_3='CIB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='HUN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ISL'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LIE'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MLT'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MCO'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='NOR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='POL'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ROM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SMR'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='SWE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CHE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='EST'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LVA'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='LTU'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='GEO'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ARM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='AZE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BLR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MDA'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='RUS'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='UKR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SVN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='HRV'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CZE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SVK'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MKD'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BIH'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='VAT'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='FRO'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SRB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='MNE'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ATG'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='ARG'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='ABW'
update code_country set Tariff= 1 , Tonnagetax= 0 where countryid_3='BHS'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BRB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BLZ'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='BOL'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='BRA'
update code_country set Tariff= 1 , Tonnagetax= 0 where countryid_3='CYM'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='CHL'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='COL'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='DMA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='CRI'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='CUB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='DOM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='ECU'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='GUF'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GRD'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='GLP'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GTM'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GUY'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='HTI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='HND'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='JAM'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='MTQ'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='MEX'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='MEX'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NIC'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PAN'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PRY'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='PER'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PRI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='LCA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='VCT'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='SLV'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SUR'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TTO'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='TCA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='URY'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='VEN'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='VGB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='KNA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SPM'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='ANT'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='CAN'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='USA'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='GRL'
update code_country set Tariff= 1 , Tonnagetax= 0 where countryid_3='BMU'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='AUS'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='COK'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='FJI'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='NCL'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='VUT'
update code_country set Tariff= 0 , Tonnagetax= 0 where countryid_3='NZL'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='NFK'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PNG'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='SLB'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='TON'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='WSM'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='KIR'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='TUV'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='FSM'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='MHL'
update code_country set Tariff= 1 , Tonnagetax= 1 where countryid_3='PLW'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='PYF'
update code_country set Tariff= 0 , Tonnagetax= 1 where countryid_3='WLF'