CREATE COLUMN TABLE "SBODEMODE"."ETL_JOURNAL_CC_DTL" ("TransId" INTEGER CS_INT, "Line_ID" INTEGER CS_INT, "AcctCode" NVARCHAR(15), "OcrCode" NVARCHAR(8), "PrcCode" NVARCHAR(8), "ValidFrom" NVARCHAR(8), "RefDate" LONGDATE CS_LONGDATE, "TaxDate" LONGDATE CS_LONGDATE, "DueDate" LONGDATE CS_LONGDATE, "EXPENSE_LC" DECIMAL(21,6) CS_FIXED, "EXPENSE_SC" DECIMAL(21,6) CS_FIXED, "REVENUE_LC" DECIMAL(21,6) CS_FIXED, "REVENUE_SC" DECIMAL(21,6) CS_FIXED, "CA_ACTUAL_LC" DECIMAL(21,6) CS_FIXED, "CA_ACTUAL_SC" DECIMAL(21,6) CS_FIXED, "Project" NVARCHAR(20), "Branch" INTEGER CS_INT, "Location" INTEGER CS_INT, "PeriodCode" NVARCHAR(20), PRIMARY KEY ("TransId", "Line_ID", "OcrCode", "PrcCode")) UNLOAD PRIORITY 5  AUTO MERGE 