CREATE COLUMN TABLE "SBODEMOPT"."OALR" ("Code" INTEGER CS_INT NOT NULL , "Type" NVARCHAR(1) DEFAULT 'A', "Priority" NVARCHAR(1) DEFAULT '1', "TCode" INTEGER CS_INT, "Subject" NVARCHAR(254), "UserText" NCLOB MEMORY THRESHOLD 1000, "DataCols" INTEGER CS_INT, "DataParams" NCLOB MEMORY THRESHOLD 1000, "MsgData" NCLOB MEMORY THRESHOLD 1000, "UserSign" SMALLINT CS_INT, "Attachment" NCLOB MEMORY THRESHOLD 1000, "DataSource" NVARCHAR(1) DEFAULT 'N', "AtcEntry" INTEGER CS_INT, "AltType" NVARCHAR(1) DEFAULT 'N', "WddData" NVARCHAR(254), PRIMARY KEY ("Code")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE CPBTREE INDEX "OALR_USER" ON "SBODEMOPT"."OALR" ( "UserSign" ASC )