CREATE COLUMN TABLE "SBODEMODE"."CRD1" ("Address" NVARCHAR(50) NOT NULL , "CardCode" NVARCHAR(15) NOT NULL , "Street" NVARCHAR(100), "Block" NVARCHAR(100), "ZipCode" NVARCHAR(20), "City" NVARCHAR(100), "County" NVARCHAR(100), "Country" NVARCHAR(3), "State" NVARCHAR(3), "UserSign" SMALLINT CS_INT, "LogInstanc" INTEGER CS_INT DEFAULT 0, "ObjType" NVARCHAR(20) DEFAULT '2', "LicTradNum" NVARCHAR(32), "LineNum" INTEGER CS_INT, "TaxCode" NVARCHAR(8), "Building" NCLOB MEMORY THRESHOLD 1000, "AdresType" NVARCHAR(1) DEFAULT 'S' NOT NULL , "Address2" NVARCHAR(50), "Address3" NVARCHAR(50), "AddrType" NVARCHAR(100), "StreetNo" NVARCHAR(100), "AltCrdName" NVARCHAR(200), "AltTaxId" NVARCHAR(32), "TaxOffice" NVARCHAR(50), "GlblLocNum" NVARCHAR(50), "Ntnlty" NVARCHAR(100), "DIOTNat" NVARCHAR(3), "TaaSEnbl" NVARCHAR(1) DEFAULT 'Y', "GSTRegnNo" NVARCHAR(15), "GSTType" INTEGER CS_INT, "CreateDate" LONGDATE CS_LONGDATE, "CreateTS" INTEGER CS_INT, "EncryptIV" NVARCHAR(100), "MYFType" NVARCHAR(2), "VatResDate" LONGDATE CS_LONGDATE, "VatResCode" INTEGER CS_INT, "VatResName" NVARCHAR(254), "VatResAddr" NVARCHAR(254), "EnNtnlty" NCLOB MEMORY THRESHOLD 1000, "EnLicTradN" NCLOB MEMORY THRESHOLD 1000, "Active" NVARCHAR(1) DEFAULT 'Y', "AlwChInAdd" NVARCHAR(1) DEFAULT 'Y', "SiretNo" NVARCHAR(32), "RoutingCod" NVARCHAR(100), "Suffix" NVARCHAR(20), PRIMARY KEY ("CardCode", "Address", "AdresType")) UNLOAD PRIORITY 0  AUTO MERGE ;
CREATE FULLTEXT INDEX "CRD1_@@FT_BUILDING" ON "SBODEMODE"."CRD1" ("Building") ASYNC PHRASE INDEX RATIO 0.000000 FUZZY SEARCH INDEX OFF SEARCH ONLY OFF FAST PREPROCESS ON TEXT MINING OFF TEXT ANALYSIS OFF TOKEN SEPARATORS '\/;,.:-_()[]<>!?*@+{}="&#$~|' COMPRESSION LEVEL 0