CREATE COLUMN TABLE "IMCYC"."QUE2" ("queueID" NVARCHAR(20) NOT NULL , "objType" NVARCHAR(20) NOT NULL , "elementId" INTEGER CS_INT NOT NULL , "elementNum" INTEGER CS_INT NOT NULL , "priority" INTEGER CS_INT, "createDate" LONGDATE CS_LONGDATE, "createTime" SMALLINT CS_INT, PRIMARY KEY INVERTED VALUE ("queueID", "elementNum")) UNLOAD PRIORITY 5  AUTO MERGE ;
ALTER TABLE "IMCYC"."QUE2" WITH PARAMETERS ('CONCAT_ATTRIBUTE'=('ALLOW_NULL_AS_COMPONENT=YES', '$uc_QUE2_OBJ_ELEM$','queueID','objType','elementId'));
CREATE UNIQUE INDEX "QUE2_OBJ_ELEM" ON "IMCYC"."QUE2" ( "queueID" ASC, "objType" ASC, "elementId" ASC )