CREATE COLUMN TABLE "SBODEMOPT"."AUGR" ("GroupId" SMALLINT CS_INT NOT NULL , "GroupName" NVARCHAR(155) NOT NULL , "GroupDec" NVARCHAR(155), "Allowences" NCLOB MEMORY THRESHOLD 1000, "TPLId" SMALLINT CS_INT, "StartDate" LONGDATE CS_LONGDATE, "DueDate" LONGDATE CS_LONGDATE, "GroupType" NVARCHAR(1) DEFAULT 'A', "CockpitId" SMALLINT CS_INT, "logInstanc" INTEGER CS_INT NOT NULL , "userSign" SMALLINT CS_INT, "createDate" LONGDATE CS_LONGDATE, "userSign2" SMALLINT CS_INT, "updateDate" LONGDATE CS_LONGDATE, "VersionNum" NVARCHAR(13), PRIMARY KEY ("GroupId", "logInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE CPBTREE INDEX "AUGR_NAME_KEY" ON "SBODEMOPT"."AUGR" ( "GroupName" ASC, "logInstanc" ASC )