CREATE COLUMN TABLE "SBODEMODE"."AVEB" ("AbsEntry" INTEGER CS_INT NOT NULL , "CardCode" NVARCHAR(15) NOT NULL , "VersionNum" NVARCHAR(13), "UserSign" SMALLINT CS_INT, "UserSign2" SMALLINT CS_INT, "CreateDate" LONGDATE CS_LONGDATE, "UpdateDate" LONGDATE CS_LONGDATE, "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "DataSource" NVARCHAR(1) DEFAULT 'N', "UpdateTS" INTEGER CS_INT, "Comments" NVARCHAR(254), PRIMARY KEY ("AbsEntry", "LogInstanc")) UNLOAD PRIORITY 0  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "AVEB_BP_CODE" ON "SBODEMODE"."AVEB" ( "CardCode" ASC, "LogInstanc" ASC )