CREATE COLUMN TABLE "SBODEMODE"."ARTT" ("RateDate" LONGDATE CS_LONGDATE NOT NULL , "Currency" NVARCHAR(3) NOT NULL , "Rate" DECIMAL(21,6) CS_FIXED, "DataSource" NVARCHAR(1) DEFAULT 'N', "UserSign" SMALLINT CS_INT, "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "UpdateDate" LONGDATE CS_LONGDATE, "UserSign2" INTEGER CS_INT, PRIMARY KEY ("RateDate", "Currency", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
ALTER TABLE "SBODEMODE"."ARTT" WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('$RateDate$LogInstanc$','RateDate','LogInstanc'));
CREATE CPBTREE INDEX "ARTT_DATE" ON "SBODEMODE"."ARTT" ( "RateDate" ASC, "LogInstanc" ASC )