CREATE COLUMN TABLE "SBODEMOUS"."ETL_SALES_LINES" ("DOCTYPE" INTEGER CS_INT NOT NULL , "DOCENTRY" INTEGER CS_INT NOT NULL , "LINENUM" INTEGER CS_INT NOT NULL , "CARDCODE" NVARCHAR(15), "SALESEMPLOYEE" INTEGER CS_INT, "COUNTRYCODE" NVARCHAR(3), "POSTINGDATE" LONGDATE CS_LONGDATE, "DUEDATE" LONGDATE CS_LONGDATE, "DOCUMENTDATE" LONGDATE CS_LONGDATE, "ITEMCODE" NVARCHAR(50), "WAREHOUSECODE" NVARCHAR(8), "QUANTITY" DECIMAL(19,6) CS_FIXED, "SALESAMOUNT" DECIMAL(19,6) CS_FIXED, "SALESAMOUNTSC" DECIMAL(19,6) CS_FIXED, "BASEAMOUNT" DECIMAL(19,6) CS_FIXED, "GROSSPROFIT" DECIMAL(19,6) CS_FIXED, "GROSSPROFITSC" DECIMAL(19,6) CS_FIXED, "PERIOD" NVARCHAR(20), "PROJECT" NVARCHAR(20), PRIMARY KEY ("DOCTYPE", "DOCENTRY", "LINENUM")) UNLOAD PRIORITY 5  AUTO MERGE 