CREATE COLUMN TABLE "SBODEMODE"."ARC9" ("DocEntry" INTEGER CS_INT NOT NULL , "ObjType" INTEGER CS_INT NOT NULL , "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "LineNum" INTEGER CS_INT NOT NULL , "RefDocEntr" INTEGER CS_INT, "RefDocNum" INTEGER CS_INT, "ExtDocNum" NVARCHAR(100), "RefObjType" NVARCHAR(20), "IssueDate" LONGDATE CS_LONGDATE, "Remark" NVARCHAR(254), "LinkRefTyp" NVARCHAR(20) DEFAULT '00', PRIMARY KEY ("DocEntry", "LineNum", "ObjType", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE INDEX "ARC9_DOC_ENTRY" ON "SBODEMODE"."ARC9" ( "DocEntry" ASC )