CREATE COLUMN TABLE "IMCYC"."APMG" ("AbsEntry" INTEGER CS_INT NOT NULL , "OWNER" INTEGER CS_INT, "NAME" NVARCHAR(254), "START" LONGDATE CS_LONGDATE, "FINISHED" DECIMAL(21,6) CS_FIXED, "DocNum" INTEGER CS_INT, "Series" SMALLINT CS_INT, "TYP" CHAR(1) CS_FIXEDSTRING DEFAULT 'E', "CARDCODE" NVARCHAR(15), "CARDNAME" NVARCHAR(100), "CONTACT" INTEGER CS_INT, "TERRITORY" INTEGER CS_INT, "EMPLOYEE" INTEGER CS_INT DEFAULT -1, "WithPhases" CHAR(1) CS_FIXEDSTRING DEFAULT 'N', "STATUS" CHAR(1) CS_FIXEDSTRING DEFAULT 'S', "DUEDATE" LONGDATE CS_LONGDATE, "CLOSING" LONGDATE CS_LONGDATE, "FIPROJECT" NVARCHAR(20), "RISK" CHAR(1) CS_FIXEDSTRING DEFAULT 'L', "INDUSTRY" INTEGER CS_INT, "REASON" NCLOB MEMORY THRESHOLD 1000, "Free_Text" NCLOB MEMORY THRESHOLD 1000, "BPLid" INTEGER CS_INT, "AtcEntry" INTEGER CS_INT, "Attachment" NCLOB MEMORY THRESHOLD 1000, "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "UpdateDate" LONGDATE CS_LONGDATE, "UserSign" SMALLINT CS_INT, "UserSign2" SMALLINT CS_INT, "CreateDate" LONGDATE CS_LONGDATE, "UpdateTS" INTEGER CS_INT, PRIMARY KEY INVERTED VALUE ("AbsEntry", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE 