<?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>Blog@PeacockData &#187; Database Design</title>
	<atom:link href="http://blog.peacockdata.com/category/database-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.peacockdata.com</link>
	<description>It&#039;s the service AFTER the sale that counts!</description>
	<lastBuildDate>Mon, 21 Nov 2011 08:00:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making a Data Dictionary</title>
		<link>http://blog.peacockdata.com/2010/03/making-a-data-dictionary/</link>
		<comments>http://blog.peacockdata.com/2010/03/making-a-data-dictionary/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:00:00 +0000</pubDate>
		<dc:creator>Peacock Data</dc:creator>
				<category><![CDATA[Data Management]]></category>
		<category><![CDATA[Database Design]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.peacockdata.com/2010/03/making-a-data-dictionary/</guid>
		<description><![CDATA[A data dictionary is a document that catalogs the organization, contents and conventions of a database or collection of databases. It lists in written form all the databases, tables, views, fields and data definitions and often information about the table layouts, the relationships between tables and other details about the database schema. . . .]]></description>
			<content:encoded><![CDATA[<p>A data dictionary is a document that catalogs the organization, contents and conventions of a database or collection of databases. It lists in written form all the databases, tables, views, fields and data definitions and often information about the table layouts, the relationships between tables and other details about the database schema.</p>
<p><img class="floatRightNoBorder" src="/wp-content/images/2010/03/making-a-data-dictionary.jpg" alt="Making a data dictionary" />It does not contain the actual data from the database system, only information necessary to manage and utilize it. It is also not an instruction manual, though a data dictionary is often included as part of an instruction manual.</p>
<p>There is no universal standard as to the level of detail in a data dictionary. What is included is dependent on the audience and the complexity of the database infrastructure. System administrators and programmers will usually have a highly detailed document, sometimes complete with visual depictions, while end users may only have the basics.</p>
<p>Below is an example of a data dictionary for a bookkeeping database with three tables. It shows the kinds of information typically included in a data dictionary, however, it is not meant to be all-inclusive. Other columns that might be provided could show if a field takes null values and the precise points where each field begins and ends. If scientific or technical information is involved, a column indicating normative ranges may be useful. The possibilities are myriad.</p>
<p>A data dictionary is an important part of database system documentation. Devoting the resources needed for a quality document will help insure fewer problems and significantly aid in productivity.</p>
<h6 class="moreSpace">EXAMPLE DATA DICTIONARY FOR A BOOKKEEPING DATABASE</h6>
<p><strong>Number of Tables:</strong> 3</p>
<p><strong>Table:</strong> name of the table. <strong>Field:</strong> name of the field. <strong>Rel:</strong> Table relationship key (if any); PK = primary key, FK = foreign key; see Foreign Key Relationships. <strong>Type:</strong> field data type. <strong>Width:</strong> field width. <strong>Dec:</strong> number of decimal points (if any). <strong>Description:</strong> data definition of the field contents.</p>
<p><strong>Foreign Key Relationships:</strong> (1) points to <em>Customers</em> table <em>Id</em> field. (2) points to <em>Sales</em> table <em>Invoice</em> field.</p>
<table class="blogTbl">
<tr>
<th>Table</th>
<th>Field</th>
<th>Rel</th>
<th>Type</th>
<th>Width</th>
<th>Dec</th>
<th>Description</th>
</tr>
<tr>
<td rowspan="4">CUSTOMERS</td>
<td>ID</td>
<td>PK</td>
<td>Character</td>
<td class="alignTextRight">10</td>
<td>&nbsp;</td>
<td>Customer ID number</td>
</tr>
<tr>
<td>NAME</td>
<td>&nbsp;</td>
<td>Character</td>
<td class="alignTextRight">25</td>
<td>&nbsp;</td>
<td>Customer name</td>
</tr>
<tr>
<td>CUST_TYPE</td>
<td>&nbsp;</td>
<td>Character</td>
<td class="alignTextRight">1</td>
<td>&nbsp;</td>
<td>
      Customer type (key):</p>
<div class="keyLst">
        A = Active<br />
        I = Inactive<br />
        P = Prospect
      </div>
</td>
</tr>
<tr>
<td>TERMS</td>
<td>&nbsp;</td>
<td>Character</td>
<td class="alignTextRight">1</td>
<td>&nbsp;</td>
<td>
      Payment terms (key):</p>
<div class="keyLst">
        N = Net Due<br />
        P = Prepaid
      </div>
</td>
</tr>
<tr>
<td rowspan="4">SALES</td>
<td>INVOICE</td>
<td>PK</td>
<td>Character</td>
<td class="alignTextRight">4</td>
<td>&nbsp;</td>
<td>Invoice number</td>
</tr>
<tr>
<td>CUST_ID</td>
<td>FK (1)</td>
<td>Character</td>
<td class="alignTextRight">10</td>
<td>&nbsp;</td>
<td>Customer ID number</td>
</tr>
<tr>
<td>SAL_DATE</td>
<td>&nbsp;</td>
<td>Date</td>
<td class="alignTextRight">8</td>
<td>&nbsp;</td>
<td>Date of sale</td>
</tr>
<tr>
<td>SAL_AMOUNT</td>
<td>&nbsp;</td>
<td>Numeric</td>
<td class="alignTextRight">10</td>
<td class="alignTextRight">2</td>
<td>Amount of sale</td>
</tr>
<tr>
<td rowspan="4">RECEIPTS</td>
<td>ID</td>
<td>PK</td>
<td>Character</td>
<td class="alignTextRight">10</td>
<td>&nbsp;</td>
<td>Unique ID number</td>
</tr>
<tr>
<td>INV_NUM</td>
<td>FK (2)</td>
<td>Character</td>
<td class="alignTextRight">4</td>
<td>&nbsp;</td>
<td>Invoice number</td>
</tr>
<tr>
<td>REC_DATE</td>
<td>&nbsp;</td>
<td>Date</td>
<td class="alignTextRight">8</td>
<td>&nbsp;</td>
<td>Date of receipt</td>
</tr>
<tr>
<td>REC_AMOUNT</td>
<td>&nbsp;</td>
<td>Numeric</td>
<td class="alignTextRight">10</td>
<td class="alignTextRight">2</td>
<td>Amount of receipt</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.peacockdata.com/2010/03/making-a-data-dictionary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start at the Finish Line</title>
		<link>http://blog.peacockdata.com/2010/02/start-at-the-finish-line/</link>
		<comments>http://blog.peacockdata.com/2010/02/start-at-the-finish-line/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 08:01:00 +0000</pubDate>
		<dc:creator>Peacock Data</dc:creator>
				<category><![CDATA[Data Management]]></category>
		<category><![CDATA[Database Design]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.peacockdata.com/2010/02/start-at-the-finish-line/</guid>
		<description><![CDATA[When planning a new data management projects, results will be better, costs lower and headaches lessened if you consider what your objectives are before you begin. Always start by thinking about what you want to do with your data both now and down the road. . . .]]></description>
			<content:encoded><![CDATA[<p>When planning a new data management projects, results will be better, costs lower and headaches lessened if you consider what your objectives are before you begin. Always start by thinking about what you want to do with your data both now and down the road.</p>
<p>The worst kind of database system is one put together piecemeal as new demands arise. At some point it becomes more of a hindrance that a help. Many become monsters that seem to have a life of their own.</p>
<p><img class="floatLeft" src="/wp-content/images/2010/02/start-at-the-finish-line.jpg" alt="" />Before you design your databases, tables and user interfaces and decide on purchases, consider all the kinds of data you want to track and the best and most resourceful way of doing so. But to do this you need to gather some information first.</p>
<p>Talk to the end users who will utilize your data. Find out what they need and how they will be using it. Just as important, determine what they would like to do in the future and what has frustrated them most about data in the past.</p>
<p>Also talk to those who will be entering information and the techs who will be working directly with the database system. Find out what will make them more efficient and what has previously held them back.</p>
<p>Finally talk to the vendors who will be processing your data and supplying equipment and third-party lists. Ask them what you can do to help them achieve the best results for you and reduce costs without sacrificing quality.</p>
<p>All of this will affect what tables you design, what fields they will contain, what relationships there will be between them and how end-users will access the information. It will also affect what equipment and lists you acquire, when you buy them and who you hire to make it all work.</p>
<p>Your new data management project should not be planned until after gathering the insight needed to establish what the end results should be. Once you have seen the view from the finish line, you will be much better equipped to create a database system that will get you where you want to be days, months and years from now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peacockdata.com/2010/02/start-at-the-finish-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

