SQL Server 表的城市、州、邮政编码、国家/地区列表/脚本
我一直在寻找在应用程序中使用的城市、州、邮政编码、国家/地区的最佳来源。我在 GeoNames.org 上找到了该集合,它看起来非常全面。然而,不能简单地导入到 SQL Server。我也相信美国邮政局也有类似的东西。
有谁知道可以轻松导入 SQL Server 来获取此信息的可靠可靠来源吗?或者甚至是一些更好的谷歌搜索术语?
I have been searching around for the best source for City, State, Zip, Country to use in an application. I have found the set at GeoNames.org and it seems very comprehensive. However there is not a simple import into SQL Server. I also believe the USPS has something similar.
Does anyone know a good reliable source that is easily imported into SQL Server for this information? Or maybe even some better Googling terms?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我之前写的博客中有一个脚本可以从地名加载数据。希望它有帮助。
SQL Server 邮政编码纬度/经度邻近距离搜索
There is a script to load data from geonames in a blog I wrote a while ago. Hopefully it helps.
SQL Server Zipcode Latitude/Longitude proximity distance search
为什么不能直接获取 CSV 文件并将它们批量加载到数据库中。你想要简单多少?
Why can't you just get the CSV files and bulk-load them into your data base. How much simpler do you want?