CREATE COLUMN TABLE "SBODEMOUS"."AEVC" ("WebhookID" NVARCHAR(40) NOT NULL , "WebhookURL" NVARCHAR(254) NOT NULL , "AuthType" NVARCHAR(1) DEFAULT 'H', "AuthCred" NCLOB MEMORY THRESHOLD 1000, "Handshake" NVARCHAR(1) DEFAULT 'Y', "VerifyCert" NVARCHAR(1) DEFAULT 'Y', "State" NVARCHAR(1) DEFAULT 'A', "WorkMode" NVARCHAR(1) DEFAULT 'S', "CreateDate" LONGDATE CS_LONGDATE, "CreateTime" INTEGER CS_INT, "UpdateDate" LONGDATE CS_LONGDATE, "UpdateTime" INTEGER CS_INT, "LastSentDT" LONGDATE CS_LONGDATE, "LastSentTM" INTEGER CS_INT, "LastErrMsg" NVARCHAR(254), "UserSign" SMALLINT CS_INT, "UserSign2" SMALLINT CS_INT, "DataVers" INTEGER CS_INT DEFAULT 1, "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , PRIMARY KEY ("WebhookID", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "AEVC_UNIQUE" ON "SBODEMOUS"."AEVC" ( "WebhookURL" ASC, "LogInstanc" ASC )