出于对业务的不了解,往往会让人做出错误的判断
CREATE TABLE `new_tables` (
`customer_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '客户ID',
`customer_code` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '客户编码',
`customer_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '客户名称',
`district_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '地区名称',
`develop_date` date DEFAULT NULL COMMENT '发展日期',
`contacts` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '联系人',
`contacts_tel` varchar(11) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '联系人电话',
`salesman_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '专营业务员名称',
`departments_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '分管部门名称',
`use_yn` varchar(250) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT '是否使用',
`create_id` int(11) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`update_id` int(11) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`customer_id`),
UNIQUE KEY `客户编码` (`customer_code`)
) ENGINE=FEDERATED DEFAULT CHARSET=utf8 CONNECTION='mysql://userdb:******@localhost:3306/xxxxsdb/t_lg_xxxxxx_xxxxxx';
经过查询,RDS 不支持 FEDERATED 引擎,可以借助 阿里云数据传输服务DTS来实现,表的时时同步
用人,就要受制于人
FEDERATED参考阅读:
http://blog.chinaunix.net/uid-22788794-id-3803970.html