<?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; Lookup</title>
	<atom:link href="http://www.geospecialling.com/index.php/tag/lookup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geospecialling.com</link>
	<description>Being a (G)IS Developer...</description>
	<lastBuildDate>Thu, 26 Jan 2012 04:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Country / State Lookup Tables for Oracle</title>
		<link>http://www.geospecialling.com/index.php/2011/12/country-state-lookup-tables-for-oracle/</link>
		<comments>http://www.geospecialling.com/index.php/2011/12/country-state-lookup-tables-for-oracle/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 21:10:15 +0000</pubDate>
		<dc:creator>Darrin Maidlow</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Lookup]]></category>
		<category><![CDATA[Province]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[State]]></category>

		<guid isPermaLink="false">http://www.geospecialling.com/index.php/2011/12/country-state-lookup-tables-for-oracle/</guid>
		<description><![CDATA[The time has come for Country / State-Province lookup tables for Oracle!&#160;&#160; Building on my earlier post on Country / State Lookup Tables for SQL Server I’ve built a new script for Oracle.&#160; This script will create two tables, two sequences for the primary keys, and two triggers to setup the auto-numbering.&#160;&#160; Run the script [...]]]></description>
			<content:encoded><![CDATA[<p>The time has come for Country / State-Province lookup tables for Oracle!&#160;&#160; Building on my earlier post on <a title="Country / State Lookup Tables for SQL Server" href="http://www.geospecialling.com/index.php/2009/02/country-state-province-lookup-tables-for-sql-server/" rel="tag" target="_blank">Country / State Lookup Tables for SQL Server</a> I’ve built a new script for Oracle.&#160; This script will create two tables, two sequences for the primary keys, and two triggers to setup the auto-numbering.&#160;&#160; Run the script and you should be good to go!</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:fdb3ba17-6102-408e-940a-65d70250084a" class="wlWriterEditableSmartContent">
<p> <a href="http://www.geospecialling.com/wp-content/uploads/2011/12/state-prov-country-oracle.zip" target="_blank">Oracle Country / State / Province Lookup Tables</a></p>
</div>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d928505b-8010-4560-aa94-4c99737e5d75" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/Oracle" rel="tag">Oracle</a>,<a href="http://technorati.com/tags/State+Province+Lookup+Table" rel="tag">State Province Lookup Table</a></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.geospecialling.com/index.php/2011/12/country-state-lookup-tables-for-oracle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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[**Update 2011.12.09 – I’ve posted an Oracle specific version of the Country/State/Province lookup SQL.&#160; 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 [...]]]></description>
			<content:encoded><![CDATA[<p>**Update 2011.12.09 – I’ve posted an <a title="Oracle Country / State / Province Lookup" href="http://www.geospecialling.com/index.php/2011/12/country-state-lookup-tables-for-oracle/" rel="tag" target="_blank">Oracle specific version of the Country/State/Province lookup SQL</a>.&#160; </p>
<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>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:414242fc-09d7-4be2-9053-aafa68512645" class="wlWriterEditableSmartContent">
<p> <a href="http://www.geospecialling.com/wp-content/uploads/2011/12/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 style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6c599aad-2efa-4e10-bc42-fbf5178ce26b" class="wlWriterEditableSmartContent">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>3</slash:comments>
		</item>
	</channel>
</rss>

