Solved

How to download City/Zip XML into SQL Server Table

Posted on 2011-03-22
3
334 Views
Last Modified: 2012-08-13
Hello all. I am attempting to update some older processes here at our office. We are converting our older VFP databases to SQL Server. I am a newbie to both .NET programming and SQL server, though I have been working with VFP databases and code for years. We currently manually maintain city information in a VFP table. I would like to automate the process by using a XML file and a nightly table update. My goal is to get an official XML file of all city/zip combinations from USPS or SBA.gov or equivalent, and write VB to run nightly and update a SQL table on our servers. Does this make sense? How can I go about this?
TIA
Amanda
0
Comment
Question by:HbugProject
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Aaron Shilo earned 500 total points
ID: 35191738
hi

read this guide by USPS for handeling the xml

http://www.usps.com/webtools/htm/Address-Information-v3-1.htm

you can allways load the XML into the database
read this guide for howto :
http://blog.sqlauthority.com/2009/02/13/sql-server-simple-example-of-reading-xml-file-using-t-sql/
0
 

Author Comment

by:HbugProject
ID: 35259930
I contacted USPs, and they do not provide an XML file of this. Is there another source? I found some promising things on SBS.gov. Does anyone have any experience with this?
0
 

Author Comment

by:HbugProject
ID: 35378724
This wasn't really what I was after, but thanks for the comment.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now