<?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>Database Lessons &#187; dialogue</title>
	<atom:link href="http://databaselessons.com/blog/tag/dialogue/feed/" rel="self" type="application/rss+xml" />
	<link>http://databaselessons.com/blog</link>
	<description>Tips for MS Access users</description>
	<lastBuildDate>Tue, 19 Jul 2011 11:48:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Ouch !!!</title>
		<link>http://databaselessons.com/blog/ouch/</link>
		<comments>http://databaselessons.com/blog/ouch/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 21:24:42 +0000</pubDate>
		<dc:creator>manxman</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[dialogue]]></category>

		<guid isPermaLink="false">http://databaselessons.com/blog/?p=28</guid>
		<description><![CDATA[I sent out a new article today. First one in months. I have the same 24 hours as everyone else, but &#8230; No, I am not going to take the easy way out with an excuse. Anyhow. Received 2 comments. One via the website and one via email. I appreciate both comments, even though they [...]]]></description>
			<content:encoded><![CDATA[<p>I sent out a new article today. First one in months. I have the same 24 hours as everyone else, but &#8230;</p>
<p>No, I am not going to take the easy way out with an excuse.</p>
<p>Anyhow. Received 2 comments. One via the website and one via email. I appreciate both comments, even though they both were against me (at least a little!).  The website comment was in regards to <a href="http://databaselessons.com/blog/access-php-and-mysql/">this posting</a> about php and mysql. If you visit the posting you can read the comment. </p>
<p>My response? What can I say? I let my subscribers down. <span id="more-28"></span> I will do my best to write another in the series, but not until after my daughter&#8217;s wedding. (hmmm, not good enough; only gives me 9 days grace!)</p>
<p>The email was about primary keys. </p>
<blockquote><p>Hi Richard</p>
<p>Good to hear from you (been a while since you&#8217;ve uploaded a new article), and hopefully everything has been going well with you.</p>
<p>Just wanted to mention that your statement &#8220;Every table must have its own primary key&#8221; is a little misleading from our experience over the years. Lookup tables do not always need a primary key, whereby master tables should be since they&#8217;re the ones being &#8216;queried&#8217; on a repetitive basis.  The problem with Lookup tables just ordinarily being given a primary key is when the data is not meant to be &#8216;in order&#8217;.  For example, a list of Job Titles in a single field table.  Over the years a couple of clients have jumped on us for listing them alphabetically (naturally happens with a Primary Key on that field), when they should be listed in a hierarchical manner, e.g. CEO, CIO, President, 2nd VP, etc.</p>
<p>Just thought we&#8217;d add our two cents.</p>
<p>Keep up the good work,</p></blockquote>
<p>My response?</p>
<blockquote><p>I appreciate your comments.</p>
<p>Life always has exceptions, but I&#8217;ll stand by my preference this time.  <img src='http://databaselessons.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Actually, if you read the fine print, I ALWAYS use autonumber fields for primary keys. I never want user generated data as a primary key. Some would consider me picky, but that&#8217;s okay, because your database is yours and &#8230;.</p>
<p>My need for a primary key is to provide for 1-to-many relationships, primarily. Now if you ponder that, why do I have them on the many sided table if it is a &#8220;dead end&#8221;? The answer to that comes via the style of unbound form that I use so often (which is another personal style some do not like, but, that&#8217;s okay cause &#8230;)</p>
<p>As to your example &#8230; in the hierarchical manner, e.g. CEO, CIO, President, 2nd VP, etc, what solution did you come up with, or have thought about, to allow simple sorting?
</p></blockquote>
<p>Dialogue is great, even when the other party disagrees, or tells you off!</p>
<p>Now I want to write more on both topics, and get some more dialogue going.</p>
<p>This is fun, even when it hurts!</p>
]]></content:encoded>
			<wfw:commentRss>http://databaselessons.com/blog/ouch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

