CREATE COLUMN TABLE "SBODEMOUS"."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" INTEGER CS_INT, "TYP" NVARCHAR(1) DEFAULT 'E', "CARDCODE" NVARCHAR(15), "CARDNAME" NVARCHAR(200), "CONTACT" INTEGER CS_INT, "TERRITORY" INTEGER CS_INT, "EMPLOYEE" INTEGER CS_INT DEFAULT -1, "WithPhases" NVARCHAR(1) DEFAULT 'N', "STATUS" NVARCHAR(1) DEFAULT 'S', "DUEDATE" LONGDATE CS_LONGDATE, "CLOSING" LONGDATE CS_LONGDATE, "FIPROJECT" NVARCHAR(20), "RISK" NVARCHAR(1) 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, "DPPStatus" NVARCHAR(1) DEFAULT 'N', "EncryptIV" NVARCHAR(100), PRIMARY KEY ("AbsEntry", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE 