CREATE COLUMN TABLE "SBODEMOPT"."ADM1" ("CurrPeriod" NVARCHAR(10), "Street" NVARCHAR(100), "StreetF" NVARCHAR(100), "Block" NVARCHAR(100), "BlockF" NVARCHAR(100), "City" NVARCHAR(100), "CityF" NVARCHAR(100), "ZipCode" NVARCHAR(20), "ZipCodeF" NVARCHAR(20), "County" NVARCHAR(100), "CountyF" NVARCHAR(100), "State" NVARCHAR(3), "Country" NVARCHAR(3), "IntrntAdrs" NVARCHAR(50), "Code" INTEGER CS_INT DEFAULT 1 NOT NULL , "AssType" NVARCHAR(100), "CompnyType" NVARCHAR(100), "NatureBiz" NVARCHAR(100), "TaxIdNum4" NVARCHAR(100), "TaxIdNum5" NVARCHAR(100), "TaxIdNum6" NVARCHAR(100), "LogInstanc" INTEGER CS_INT DEFAULT 0, "AddrType" NVARCHAR(100), "AddrTypeF" NVARCHAR(100), "StreetNo" NVARCHAR(100), "StreetNoF" NVARCHAR(100), "Building" NVARCHAR(100), "BuildingF" NVARCHAR(100), "EccNo" NVARCHAR(40), "CERegNo" NVARCHAR(40), "CERange" NVARCHAR(60), "CEDivision" NVARCHAR(60), "CeComRate" NVARCHAR(60), "MenuCode" NVARCHAR(60), "Jurisd" NVARCHAR(60), "SnapShotId" INTEGER CS_INT DEFAULT 0, "STDCode" INTEGER CS_INT, "STDCodeF" INTEGER CS_INT, "CompNature" INTEGER CS_INT DEFAULT -1, "EconActT" INTEGER CS_INT DEFAULT -1, "CredCOrig" NVARCHAR(1), "IPIPeriod" NVARCHAR(1), "CoopAssocT" INTEGER CS_INT DEFAULT -1, "DspIBPDoc" NVARCHAR(1) DEFAULT 'Y', "DspIITMDoc" NVARCHAR(1) DEFAULT 'Y', "ProfTax" INTEGER CS_INT DEFAULT -1, "CompQualif" INTEGER CS_INT DEFAULT 1, "DeclType" INTEGER CS_INT DEFAULT 1, "IPITaxCon" NVARCHAR(1) DEFAULT 'N', "ISVATRegNo" NVARCHAR(100), "ISVATRegEx" NVARCHAR(10), "ISObligLvl" NVARCHAR(1), "ISTaxState" NVARCHAR(3), "ISComDecID" NVARCHAR(32), "OKDPNum" NVARCHAR(7), "ISValidKey" NVARCHAR(35), "ISDnsce" NVARCHAR(10), "ISDfltPath" NCLOB MEMORY THRESHOLD 1000, "ISSimpProc" NVARCHAR(1) DEFAULT 'Y', "ISForceCmp" NVARCHAR(1) DEFAULT 'Y', "ISCstRecSt" NVARCHAR(6), "ISDfltInct" INTEGER CS_INT, "ISDfCPEx" INTEGER CS_INT, "ISDfCPIm" INTEGER CS_INT, "ISDfNTEx" INTEGER CS_INT, "ISDfNTIm" INTEGER CS_INT, "ISDfPortEx" INTEGER CS_INT, "ISDfPortIm" INTEGER CS_INT, "ISDfSPEx" INTEGER CS_INT, "ISDfSPIm" INTEGER CS_INT, "ISDfCSTEx" INTEGER CS_INT, "ISDfCSTIm" INTEGER CS_INT, "ISDfTMEx" INTEGER CS_INT, "ISDfTMIm" INTEGER CS_INT, "ISDeclDept" SMALLINT CS_INT, "ISExlDocQt" NVARCHAR(1) DEFAULT 'N', "ISDocQtLm" DECIMAL(21,6) CS_FIXED, "ISExlDocAm" NVARCHAR(1) DEFAULT 'N', "ISDocAmLm" DECIMAL(21,6) CS_FIXED, "ISDspNMass" NVARCHAR(1) DEFAULT 'Y', "ImInfSup" NVARCHAR(1), "Free2" NVARCHAR(1), "CommerReg" NVARCHAR(60), "DateOfInc" LONGDATE CS_LONGDATE, "SPEDProf" NVARCHAR(2), "EnvTypeNFe" INTEGER CS_INT DEFAULT -1, "Opt4ICMS" NVARCHAR(1) DEFAULT 'N', "ISInstIntr" NVARCHAR(1) DEFAULT 'N', "GlblLocNum" NVARCHAR(50), "PTLedgeGen" NVARCHAR(1) DEFAULT 'M', "BZStRegID" NVARCHAR(6), "BZStSendID" NVARCHAR(11), "PostInVat" NVARCHAR(1) DEFAULT 'N', "EnbEATrns" NVARCHAR(1) DEFAULT 'N', "EnbEAInv" NVARCHAR(1) DEFAULT 'N', "AuthUser" NVARCHAR(100), "AuthPwd" NVARCHAR(100), "UrlGoods" NVARCHAR(250), "UrlInvType" NVARCHAR(250), "ElGoodsFmt" INTEGER CS_INT, "ElInvFmt" INTEGER CS_INT, "ElDigiCert" NCLOB MEMORY THRESHOLD 1000, "TaxRptFrm" LONGDATE CS_LONGDATE, "Suframa" NVARCHAR(100), "EnbInItIQI" NVARCHAR(1) DEFAULT 'N', "EnbInItINC" NVARCHAR(1) DEFAULT 'Y', "ExtRevAct" NVARCHAR(1) DEFAULT 'N', "IsStartup" NVARCHAR(1) DEFAULT 'N', "IsCUITMndt" NVARCHAR(1) DEFAULT 'N', "LnMlBrnch" NVARCHAR(1) DEFAULT 'Y', "DfBrnchPh" NVARCHAR(1) DEFAULT 'Y', "AplShipPch" NVARCHAR(1) DEFAULT 'N', "AsnBrnchBP" NVARCHAR(1) DEFAULT 'Y', "ApyPRinAT" NVARCHAR(1) DEFAULT 'N', "ApyDRinAT" NVARCHAR(1) DEFAULT 'N', "EnMlBrkInv" NVARCHAR(1) DEFAULT 'N', "PEFilePath" NCLOB MEMORY THRESHOLD 1000, "EnableGDPR" NVARCHAR(1) DEFAULT 'N', "MTDLbltAct" NVARCHAR(15), "MTDClmAct" NVARCHAR(15), "RmrksIncld" NVARCHAR(1) DEFAULT 'Y', "VerfVatNo" NVARCHAR(1) DEFAULT 'N', "VerfVatMxD" INTEGER CS_INT DEFAULT 1, "VerfVatAct" NVARCHAR(100) DEFAULT 'NNNNNNNNNNNNNNNNNNNNNNNNNNNNN', "CNPJOfIT" NVARCHAR(14), "CnPerson" NVARCHAR(60), "Email" NVARCHAR(60), "Telephone" NVARCHAR(14), PRIMARY KEY ("Code")) UNLOAD PRIORITY 5  AUTO MERGE 