---新建表
USE OMC_PUB;
CREATE TABLE IF NOT EXISTS `sysAlarmInfo` (
  `sysTypeNo` smallint(5) UNSIGNED NOT NULL DEFAULT 0,
  `sysNo` smallint(3) UNSIGNED NOT NULL DEFAULT 0,
  `subSysNo` smallint(3) UNSIGNED NOT NULL DEFAULT 0,
  `compCode` smallint(3) UNSIGNED NOT NULL DEFAULT 0,
  `alarmCode` smallint(3) UNSIGNED NOT NULL DEFAULT 0,
  `alarmTime` datetime(0) NOT NULL DEFAULT '0000-00-00 00:00:00',
  `clearTime` datetime(0) NOT NULL DEFAULT '0000-00-00 00:00:00',
  `clearMode` tinyint(4) NOT NULL DEFAULT 0,
  `clearInfo` varchar(64) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `clearBy` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `alertCheck` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
  `alarmId` varchar(64) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  `alarmInfo` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
  INDEX `clearTime`(`clearTime`) USING BTREE,
  INDEX `alarmTime`(`alarmTime`) USING BTREE,
  INDEX `sysTypeNo`(`sysTypeNo`) USING BTREE,
  INDEX `sysNo`(`sysNo`) USING BTREE,
  INDEX `subSysNo`(`subSysNo`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;

---删除表

----新增字段

---删除字段


---修改字段
---ALTER TABLE OMC_PUB.omcPubVarConf CHANGE COLUMN IF EXISTS `remark` remark1 VARCHAR(255);