CREATE COLUMN TABLE "SBODEMOUS"."ATCD1" ("AbsId" INTEGER CS_INT NOT NULL , "TcdId" INTEGER CS_INT NOT NULL , "KeyFld_1" INTEGER CS_INT DEFAULT 0, "KeyFld_2" INTEGER CS_INT DEFAULT 0, "KeyFld_3" INTEGER CS_INT DEFAULT 0, "Priority" INTEGER CS_INT DEFAULT 0 NOT NULL , "Descr" NVARCHAR(100), "KeyFld_4" INTEGER CS_INT DEFAULT 0, "UDFTable_1" NVARCHAR(20), "UDFAlias_1" NVARCHAR(18), "UDFTable_2" NVARCHAR(20), "UDFAlias_2" NVARCHAR(18), "UDFTable_3" NVARCHAR(20), "UDFAlias_3" NVARCHAR(18), "UDFTable_4" NVARCHAR(20), "UDFAlias_4" NVARCHAR(18), "KeyFld_5" INTEGER CS_INT DEFAULT 0, "UDFTable_5" NVARCHAR(20), "UDFAlias_5" NVARCHAR(18), "LegalText" NVARCHAR(250), "LogInstanc" INTEGER CS_INT NOT NULL , PRIMARY KEY ("AbsId", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "ATCD1_TCD1_UNI" ON "SBODEMOUS"."ATCD1" ( "TcdId" ASC, "Priority" ASC, "LogInstanc" ASC )