CREATE COLUMN TABLE "SBODEMODE"."OBPD" ("AbsEntry" INTEGER CS_INT NOT NULL , "DatSubType" NVARCHAR(4), "DatSubKey" NVARCHAR(15), "DatSubKey2" NVARCHAR(50), "TableName" NVARCHAR(21), "KeyValue1" NVARCHAR(50), "KeyValue2" NVARCHAR(50), "KeyValue3" NVARCHAR(50), "KeyValue4" NVARCHAR(50), "KeyValue5" NVARCHAR(50), "FieldName" NVARCHAR(52), "EncryptVal" NCLOB MEMORY THRESHOLD 1000, "EncryptIV" NVARCHAR(100), "CreateDate" LONGDATE CS_LONGDATE, "CreateTime" INTEGER CS_INT, "ObjType" NVARCHAR(20) DEFAULT '-1', PRIMARY KEY ("AbsEntry")) UNLOAD PRIORITY 5  AUTO MERGE ;
ALTER TABLE "SBODEMODE"."OBPD" WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('$DatSubType$DatSubKey$DatSubKey2$','DatSubType','DatSubKey','DatSubKey2'));
ALTER TABLE "SBODEMODE"."OBPD" WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('$TableName$KeyValue1$KeyValue2$KeyValue3$KeyValue4$KeyValue5$FieldName$','TableName','KeyValue1','KeyValue2','KeyValue3','KeyValue4','KeyValue5','FieldName'));
CREATE INDEX "OBPD_DATA_SUBJ" ON "SBODEMODE"."OBPD" ( "DatSubType" ASC, "DatSubKey" ASC, "DatSubKey2" ASC );
CREATE INDEX "OBPD_TABL_FIELD" ON "SBODEMODE"."OBPD" ( "TableName" ASC, "KeyValue1" ASC, "KeyValue2" ASC, "KeyValue3" ASC, "KeyValue4" ASC, "KeyValue5" ASC, "FieldName" ASC )