CREATE COLUMN TABLE "SBODEMOPT"."AEC8" ("AbsEntry" INTEGER CS_INT NOT NULL , "Code" NVARCHAR(8) NOT NULL , "ParentID" INTEGER CS_INT, "ActType" NVARCHAR(1), "ActDesc" NVARCHAR(100), "ActStatus" NVARCHAR(1) DEFAULT 'N', "ActMessage" NVARCHAR(254), "TestMode" NVARCHAR(1) DEFAULT 'N', "GUID" NVARCHAR(100), "Authority" NVARCHAR(16), "ProcSource" NVARCHAR(20), "MetaData" NCLOB MEMORY THRESHOLD 1000, "MIMEType" NVARCHAR(1) DEFAULT 'X', "FileName" NCLOB MEMORY THRESHOLD 1000, "CardCode" NVARCHAR(15), "DocDate" LONGDATE CS_LONGDATE, "ObjType" NVARCHAR(20), "CreateDate" LONGDATE CS_LONGDATE, "CreateTS" INTEGER CS_INT, "UpdateDate" LONGDATE CS_LONGDATE, "UpdateTS" INTEGER CS_INT, "UserSign" SMALLINT CS_INT, "UserSign2" SMALLINT CS_INT, PRIMARY KEY ("AbsEntry")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE INDEX "AEC8_ACTION" ON "SBODEMOPT"."AEC8" ( "Code" ASC, "AbsEntry" ASC )