CREATE COLUMN TABLE "SBODEMODE"."CSI10" ("DocEntry" INTEGER CS_INT NOT NULL , "LineSeq" INTEGER CS_INT NOT NULL , "AftLineNum" INTEGER CS_INT NOT NULL , "OrderNum" INTEGER CS_INT NOT NULL , "LineType" NVARCHAR(1), "LineText" NCLOB MEMORY THRESHOLD 1000, "LogInstanc" INTEGER CS_INT DEFAULT 0, "ObjType" NVARCHAR(20) DEFAULT '165', PRIMARY KEY ("DocEntry", "LineSeq")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE INDEX "CSI10_SECONDERY" ON "SBODEMODE"."CSI10" ( "DocEntry" ASC, "AftLineNum" ASC, "OrderNum" ASC )