<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Schema Design</title><link>http://blogs.technet.com/b/andrew/archive/2008/02/27/sql-server-schema-design.aspx</link><description>I have seen some strange schemas in my time which look like a good idea on paper but not on disk. A common scenario is the schema that is created by a tool controlled by a user and so we end up with columns like user21 in usertabel7 and so on. Then I</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: SQL Server Schema Design</title><link>http://blogs.technet.com/b/andrew/archive/2008/02/27/sql-server-schema-design.aspx#2955614</link><pubDate>Mon, 03 Mar 2008 20:42:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2955614</guid><dc:creator>test user</dc:creator><description>&lt;p&gt;Yep - this is a classic example of an EAV design, and &amp;quot;strange&amp;quot; is a kind adjective to use for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2955614" width="1" height="1"&gt;</description></item><item><title>re: SQL Server Schema Design</title><link>http://blogs.technet.com/b/andrew/archive/2008/02/27/sql-server-schema-design.aspx#2955340</link><pubDate>Mon, 03 Mar 2008 19:40:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2955340</guid><dc:creator>braddeem</dc:creator><description>&lt;p&gt;I understand what the original database architect was trying to accomplish with this schema. &amp;nbsp;I would have never designed anything like that myself however, until I began reading The Data Model Resource Book, Revised Edition, Volume 1, A Library of Universal Data Models For All Enterprises ISBN: 978-0-471-38023-8.&lt;/p&gt;
&lt;p&gt;This is similar to a modeling technique show initially in the 2nd chapter of this book in that there is a Value Column with a Type Column. &amp;nbsp;The end goal is to create a very flexible data model.&lt;/p&gt;
&lt;p&gt;Consider going to the attribute approach you mentioned. &amp;nbsp;It's easy to decide to make columns for Phone, Cell Phone, Pager, Email, Home Phone, Work Phone... etc. &amp;nbsp;However, what happens when someone has multiple work phones or cell phones? &amp;nbsp;The attribute approach quickly falls apart.&lt;/p&gt;
&lt;p&gt;I'm not directly advocating one approach over the other, but I'm very interested in exploring the approach from the original schema as a viable option. &amp;nbsp;Exploring meaning implementing this from the physical data model to the webpage/form UI to reporting to importing data.&lt;/p&gt;
&lt;p&gt;Perhaps this is a discussion better suited for the forums of the book above, but regardless the parallels are worth noting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2955340" width="1" height="1"&gt;</description></item><item><title>re: SQL Server Schema Design</title><link>http://blogs.technet.com/b/andrew/archive/2008/02/27/sql-server-schema-design.aspx#2955078</link><pubDate>Mon, 03 Mar 2008 17:58:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2955078</guid><dc:creator>Bradley</dc:creator><description>&lt;p&gt;I understand what the original database architect was trying to accomplish with this schema. &amp;nbsp;I would have never designed anything like that myself however, until I began reading The Data Model Resource Book, Revised Edition, Volume 1, A Library of Universal Data Models For All Enterprises ISBN: 978-0-471-38023-8.&lt;/p&gt;
&lt;p&gt;This is similar to a modeling technique show initially in the 2nd chapter of this book in that there is a Value Column with a Type Column. &amp;nbsp;The end goal is to create a very flexible data model.&lt;/p&gt;
&lt;p&gt;Consider going to the attribute approach you mentioned. &amp;nbsp;It's easy to decide to make columns for Phone, Cell Phone, Pager, Email, Home Phone, Work Phone... etc. &amp;nbsp;However, what happens when someone has multiple work phones or cell phones? &amp;nbsp;The attribute approach quickly falls apart.&lt;/p&gt;
&lt;p&gt;I'm not directly advocating one approach over the other, but I'm very interested in exploring the approach from the original schema as a viable option. &amp;nbsp;Exploring meaning implementing this from the physical data model to the webpage/form UI to reporting to importing data.&lt;/p&gt;
&lt;p&gt;Perhaps this is a discussion better suited for the forums of the book above, but regardless the parallels are worth noting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2955078" width="1" height="1"&gt;</description></item></channel></rss>