全国地址SQL数据文件(精确到区县)
导出自MYSQL
CREATE TABLE `com_area` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`created_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_modified_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`display_order` int(11) DEFAULT NULL,
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`pid` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `FK_Reference_02` (`pid`),
CONSTRAINT `com_area_ibfk_1` FOREIGN KEY (`pid`) REFERENCES `com_area` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3924 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- ----------------------------
-- Records of com_area
-- ----------------------------
INSERT INTO `com_area` VALUES ('1', '2016-10-29 08:07:39', '2016-10-29 08:07:39', '0', '1', null);
INSERT INTO `com_area` VALUES ('2', '2016-10-29 08:07:44', '2016-10-29 08:07:44', '110000', '北京市', '1');
INSERT INTO `com_area` VALUES ('3', '2016-10-29 08:07:44', '2016-10-29 08:07:44', '110101', '东城区', '2');
...
...
下载地址:
http://download.youkuaiyun.com/detail/wangfei0904306/9748322
本文提供了精确到区县级别的全国地址SQL数据文件,包括创建表结构及插入数据的详细SQL语句,适用于需要地理信息数据支持的应用场景。
1778

被折叠的 条评论
为什么被折叠?



