CREATE COLUMN TABLE "SBODEMOPT"."ICD4" ("DocEntry" INTEGER CS_INT NOT NULL , "CounterNum" INTEGER CS_INT NOT NULL , "CounteType" INTEGER CS_INT DEFAULT 12 NOT NULL , "CounterId" INTEGER CS_INT NOT NULL , "CounteName" NVARCHAR(155), "LogIns" INTEGER CS_INT, "VisOrder" INTEGER CS_INT, PRIMARY KEY ("DocEntry", "CounterNum")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE UNIQUE INDEX "ICD4_BUSINESS" ON "SBODEMOPT"."ICD4" ( "DocEntry" ASC, "CounteType" ASC, "CounterId" ASC )