CREATE COLUMN TABLE "SBODEMOUS"."AOB1" ("AlertCode" INTEGER CS_INT NOT NULL , "ObjType" NVARCHAR(20) DEFAULT '12' NOT NULL , "ObjCode" NVARCHAR(50) NOT NULL , "ObjName" NVARCHAR(155), "SendIntrnl" NVARCHAR(1) DEFAULT 'N', "Confirmed1" NVARCHAR(1) DEFAULT 'N', "ConfDate1" LONGDATE CS_LONGDATE, "ConfTime1" SMALLINT CS_INT, "SendEMail" NVARCHAR(1) DEFAULT 'N', "E_Mail" NVARCHAR(100), "Info2" NCLOB MEMORY THRESHOLD 1000, "Confirmed2" NVARCHAR(1) DEFAULT 'N', "ConfDate2" LONGDATE CS_LONGDATE, "ConfTime2" SMALLINT CS_INT, "SendSMS" NVARCHAR(1) DEFAULT 'N', "PortNum" NVARCHAR(50), "Confirmed3" NVARCHAR(1) DEFAULT 'N', "ConfDate3" LONGDATE CS_LONGDATE, "ConfTime3" SMALLINT CS_INT, "SendFax" NVARCHAR(1) DEFAULT 'N', "Fax" NVARCHAR(50), "Confirmed4" NVARCHAR(1) DEFAULT 'N', "ConfDate4" LONGDATE CS_LONGDATE, "ConfTime4" SMALLINT CS_INT, "SendAs" NVARCHAR(1) DEFAULT '0', PRIMARY KEY ("AlertCode", "ObjType", "ObjCode")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE CPBTREE INDEX "AOB1_SEND_EM" ON "SBODEMOUS"."AOB1" ( "SendEMail" ASC );
CREATE CPBTREE INDEX "AOB1_CONFIRMED2" ON "SBODEMOUS"."AOB1" ( "Confirmed2" ASC )