<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>John Paul Cook : Bill of Materials</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx</link><description>Tags: Bill of Materials</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Bill of Materials – Computing Component Totals</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/07/bill-of-materials-computing-component-totals.aspx</link><pubDate>Sat, 07 Nov 2009 21:48:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18615</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>1</slash:comments><comments>http://sqlblog.com/blogs/john_paul_cook/comments/18615.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/john_paul_cook/commentrss.aspx?PostID=18615</wfw:commentRss><description>Previous posts have shown how to do a parts explosion and a where used query. Another common query needed for Bill of Materials is a list of quantities required for all components in an assembly. The indented parts explosion is easily modified to produce...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/07/bill-of-materials-computing-component-totals.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=18615" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx">Bill of Materials</category></item><item><title>Bill of Materials – The Basics</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/06/bill-of-materials-the-basics.aspx</link><pubDate>Fri, 06 Nov 2009 23:23:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18593</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>5</slash:comments><comments>http://sqlblog.com/blogs/john_paul_cook/comments/18593.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/john_paul_cook/commentrss.aspx?PostID=18593</wfw:commentRss><description>After having several people at SQL PASS ask me to explain what a Bill of Materials is, it seemed like a good idea for a blog post. A Bill of Materials, otherwise known as a BOM (don’t read this aloud in an airport lounge), is a listing of all of the components...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/06/bill-of-materials-the-basics.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=18593" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx">Bill of Materials</category></item><item><title>Hierarchyid data type and AdventureWorks2008 BillOfMaterials table</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/01/hierarchyid-data-type-and-adventureworks2008-billofmaterials-table.aspx</link><pubDate>Sun, 01 Nov 2009 04:07:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:18431</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>0</slash:comments><comments>http://sqlblog.com/blogs/john_paul_cook/comments/18431.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/john_paul_cook/commentrss.aspx?PostID=18431</wfw:commentRss><description>AdventureWorks2008 uses the hierarchyid data type in a updated version of the HumanResources.Employee table, but not in the Production.BillOfMaterials table. Michael Coles provides the code for a clever CTE to create Production.HierBillOfMaterials from...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/11/01/hierarchyid-data-type-and-adventureworks2008-billofmaterials-table.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=18431" width="1" height="1"&gt;</description><enclosure url="http://sqlblog.com/blogs/john_paul_cook/attachment/18431.ashx" length="94483" type="application/x-zip-compressed" /><category domain="http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx">Bill of Materials</category></item><item><title>Bill of Materials - Where Used Query</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/10/11/bill-of-materials-where-used-query.aspx</link><pubDate>Sun, 11 Oct 2009 23:50:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:17579</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>0</slash:comments><comments>http://sqlblog.com/blogs/john_paul_cook/comments/17579.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/john_paul_cook/commentrss.aspx?PostID=17579</wfw:commentRss><description>My post on indenting output from hierarchical queries showed how to do a parts explosion on a Bill of Materials (BOM) that was implemented with an adjacency list pattern. One very simple change converts the query from a parts explosion to a where used...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/10/11/bill-of-materials-where-used-query.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=17579" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx">Bill of Materials</category></item><item><title>Displaying Hierarchical Data - Indenting the Output</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/10/03/displaying-hierarchical-data-indenting-the-output.aspx</link><pubDate>Sun, 04 Oct 2009 03:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:17233</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>0</slash:comments><comments>http://sqlblog.com/blogs/john_paul_cook/comments/17233.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/john_paul_cook/commentrss.aspx?PostID=17233</wfw:commentRss><description>When working with hierarchical data, people commonly request the output be indented for each level of the hierarchy. There are two key pieces to solving this query puzzle – knowing the level in the hierarchy and coming up with a sorting key for ordering...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/10/03/displaying-hierarchical-data-indenting-the-output.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=17233" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/john_paul_cook/archive/tags/Bill+of+Materials/default.aspx">Bill of Materials</category></item></channel></rss>