时间:2021-07-01 10:21:17 帮助过:20人阅读
CREATE TABLE `yndzm` (
`city` varchar(40) DEFAULT NULL COMMENT ‘市(州)‘,
`county` varchar(60) DEFAULT NULL COMMENT ‘县(区)‘,
`town` varchar(60) DEFAULT NULL COMMENT ‘乡(镇,街道)‘,
`village` varchar(60) DEFAULT NULL COMMENT ‘村(社区)‘,
`zcode` varchar(25) NOT NULL DEFAULT ‘‘ COMMENT ‘地址码‘,
`dq` varchar(4) DEFAULT NULL,
PRIMARY KEY (`zcode`)
) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION=‘mysql://yndc:1302@localhost:3307/tmsscript/yndzm‘;
MySQL使用FEDERATED engine建立代理表
标签:com county ted char not efault primary utf8 ble