CREATE COLUMN TABLE "SBODEMOPT"."ARSC1" ("ResCode" NVARCHAR(50) NOT NULL , "WhsCode" NVARCHAR(8) NOT NULL , "Locked" NVARCHAR(1) DEFAULT 'N', "ObjType" NVARCHAR(20) DEFAULT '290', "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , PRIMARY KEY ("ResCode", "WhsCode", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE CPBTREE INDEX "ARSC1_WHS" ON "SBODEMOPT"."ARSC1" ( "WhsCode" ASC )