<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geospecialling &#187; SQL Server</title>
	<atom:link href="http://www.geospecialling.com/index.php/category/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geospecialling.com</link>
	<description>Being a (G)IS Developer...</description>
	<lastBuildDate>Sun, 25 Jul 2010 05:15:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Country / State / Province Lookup Tables for SQL server</title>
		<link>http://www.geospecialling.com/index.php/2009/02/country-state-province-lookup-tables-for-sql-server/</link>
		<comments>http://www.geospecialling.com/index.php/2009/02/country-state-province-lookup-tables-for-sql-server/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 23:50:54 +0000</pubDate>
		<dc:creator>Darrin Maidlow</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Lookup]]></category>
		<category><![CDATA[Province]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[State]]></category>

		<guid isPermaLink="false">http://www.landoris.com/blogs/darrin/index.php/2009/02/country-state-province-lookup-tables-for-sql-server/</guid>
		<description><![CDATA[Every time I build a contact form/database I hit this problem.&#160; I need a set of tables for Country, State/Province lookup.&#160; “But, that’s like 60 records and I don’t wanna type out every state and province!”.
Every time, I hit the Google looking for SQL scripts – and I can’t seem to find anything, or I [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I build a contact form/database I hit this problem.&#160; I need a set of tables for Country, State/Province lookup.&#160; “But, that’s like 60 records and I don’t wanna type out every state and province!”.</p>
<p>Every time, I hit the Google looking for SQL scripts – and I can’t seem to find anything, or I find that one script for mySQL.&#160; The last time I did this, I created a set of SQL scripts and I saved them.&#160; I forgot that I saved them – and made another SQL script.&#160; Doh.&#160; </p>
<p>This time when I was working on the new contact form for this site, I decided to write this blog post in hopes that the next time I need to do this – when I search Google my blog might come up and remind me not to re-invent the wheel.&#160; So I’ve included a zip with the SQL script here.&#160; This script is for SQL server 2005 – but will translate over to Oracle very easily.</p>
<p>
<div class="wlWriterEditableSmartContent" id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:e5d0b4d1-df0c-47b2-b4da-c12ae3943183" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<p> <a href="http://www.landoris.com/blogs/darrin/wp-content/uploads/2009/02/stateprovlist.zip" target="_blank">SQL Server 2005 Country / State / Province lookup tables</a></p>
</div>
<p>If you find any problems with the script, or feel like adding more countries, feel free to pass those changes along to me!</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6c599aad-2efa-4e10-bc42-fbf5178ce26b" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/SQL+Server" rel="tag">SQL Server</a>,<a href="http://technorati.com/tags/State+Province+Lookup+Table" rel="tag">State Province Lookup Table</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.geospecialling.com/index.php/2009/02/country-state-province-lookup-tables-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
