CREATE COLUMN TABLE "SBODEMOPT"."ECM10" ("AbsEntry" INTEGER CS_INT NOT NULL , "Number" NVARCHAR(50) NOT NULL , "Code" NVARCHAR(8) NOT NULL , "Status" NVARCHAR(1) DEFAULT 'N', "UserSign" SMALLINT CS_INT, "CreateDate" LONGDATE CS_LONGDATE, "CreateTS" INTEGER CS_INT, "UserSign2" SMALLINT CS_INT, "UpdateDate" LONGDATE CS_LONGDATE, "UpdateTS" INTEGER CS_INT, PRIMARY KEY ("AbsEntry")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE INDEX "ECM10_NUMBER" ON "SBODEMOPT"."ECM10" ( "Code" ASC, "Number" ASC )