CREATE COLUMN TABLE "SBODEMOPT"."ATCD" ("AbsId" INTEGER CS_INT NOT NULL , "TcdType" NVARCHAR(2) DEFAULT 'MI' NOT NULL , "DftArCode" NVARCHAR(8), "DftApCode" NVARCHAR(8), "LogInstanc" INTEGER CS_INT NOT NULL , "UpdateDate" LONGDATE CS_LONGDATE, "UserSign2" SMALLINT CS_INT, PRIMARY KEY ("AbsId", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "ATCD_TCD_TYPE" ON "SBODEMOPT"."ATCD" ( "TcdType" ASC, "LogInstanc" ASC )