<?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>Luke Hayler - SQL Server Developer &#187; sqlpass</title>
	<atom:link href="http://lukehayler.com/tag/sqlpass/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukehayler.com</link>
	<description>A blog about Business Intelligence and other personal interests</description>
	<lastBuildDate>Tue, 13 Dec 2011 11:42:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>SQL Server Social No. 2 &#8211; Movember Edition</title>
		<link>http://lukehayler.com/2011/11/sql-server-social-no-2-movember-edition/</link>
		<comments>http://lukehayler.com/2011/11/sql-server-social-no-2-movember-edition/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 20:17:06 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQL Server Social]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Sherlock Holmes Inn]]></category>
		<category><![CDATA[SQL networking]]></category>
		<category><![CDATA[sql server social]]></category>
		<category><![CDATA[sqlpass]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/11/sql-server-social-no-2-movember-edition/</guid>
		<description><![CDATA[Last Thursday saw the first of many regular SQL Server Social events.Held at the Sherlock Holmes Inn on Collins Street, it was a great event with around 25-30 people in attendance. A lot more than I imagined considering a last &#8230; <a href="http://lukehayler.com/2011/11/sql-server-social-no-2-movember-edition/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://lukehayler.com/wp-content/uploads/2011/11/SherlockHolmesInn.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 10px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SherlockHolmesInn" border="0" alt="SherlockHolmesInn" align="left" src="http://lukehayler.com/wp-content/uploads/2011/11/SherlockHolmesInn_thumb.png" width="136" height="164" /></a>Last Thursday saw the first of many regular SQL Server Social events.Held at the Sherlock Holmes Inn on Collins Street, it was a great event with around 25-30 people in attendance. A lot more than I imagined considering a last minute change to the date. </p>
<p><a href="http://www.perceptualedge.com" target="_blank">Stephen Few</a>, renown educator and trainer in BI Visualisations and author, had been giving a BI Visualisation workshop earlier in the week. I was in attendance at the workshop and managed to persuade Stephen to attend our social event. He was only in Melbourne until Friday November 18th, hence the last minute change to the date. </p>
<p>&#160;</p>
<p>It was a <a href="http://au.movember.com" target="_blank">Movember</a> themed event, but unfortunately not that many people took part. I was one of two Mo Bro’s of the evening. <a href="http://au.movember.com/mospace/755590" target="_blank">Angus Bell</a> had quite the impressive Mo and walked away with a heap of Movember merchandise (which he later gave away at another Movember party), as well as bottle of wine. It was a great effort by Angus, check out his Mo below and <a href="http://au.movember.com/mospace/755590" target="_blank">donate to his cause here</a>:</p>
<p><a href="http://au.movember.com/mospace/755590" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="Angus Bell" border="0" alt="Angus Bell" src="http://lukehayler.com/wp-content/uploads/2011/11/AngusBell_MO.jpg" width="356" height="346" /></a></p>
<p>&#160;</p>
<p>Next month’s event is in the works and will be held, once again, at The Sherlock Holmes Inn. Dates and times will be communicated soon. Stay tuned for more on SQL Server Social!</p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/11/sql-server-social-no-2-movember-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Journey to the PASS Summit 2011 &#8211; Part 7 &#8211; Day 2 Precon PowerShell</title>
		<link>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-7-day-2-precon-powershell/</link>
		<comments>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-7-day-2-precon-powershell/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 08:32:27 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[PASS Summit 2011]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[PASS Summit]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[precons]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sqlpass]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-7-day-2-precon-powershell/</guid>
		<description><![CDATA[Today was PowerShell day for me at the PASS Summit. After just 3 hours of sleep last night, I did not expect too much (from myself). However, the coffee was good and the realisation of a new skill was enough &#8230; <a href="http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-7-day-2-precon-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today was PowerShell day for me at the PASS Summit. After just 3 hours of sleep last night, I did not expect too much (from myself). However, the coffee was good and the realisation of a new skill was enough to keep me going. </p>
<p>It’s fair to say that, although the presentation was a little disjointed, I have seen the PowerShell ‘light’ and what it is capable of. I intend to follow up this precon with a hefting helping of new blogs to read and scripts to write. </p>
<p>The following are some of the notes from the precon today.</p>
<h3>What is PowerShell?</h3>
<p><a href="http://en.wikipedia.org/wiki/Windows_PowerShell" target="_blank">According to Wikipedia</a>, PowerShell is a task automation framework, that consists of a command-line shell and an associated scripting language. With PowerShell, administrators can perform administrative tasks on both local and remote machines.</p>
<ul>
<li>Cmdlets
<ul>
<li>Are specialised commands in the PowerShell environment that implement specific functions. </li>
<li>Use a verb-noun naming pattern. i.e.
<ul>
<li>Get-Command </li>
<li>Get-Children </li>
</ul>
</li>
<li>Sets of commandlets can be combined into scripts and executables. </li>
</ul>
</li>
<li>Pipeline
<ul>
<li>PowerShell implements a pipeline, which enables the output of one cmdlet to be ‘piped’ as an input to another; this is done using the ‘|’ character. </li>
</ul>
</li>
</ul>
<p>&#160;</p>
<h3>Variables in PowerShell</h3>
<p>Variables in PowerShell are declared (using ‘$’) and set in-line. There is no need to declare them up front, or set their data/object type. The variables will take on the appropriate data/object type for the result(s) that are returned. I don’t know about you, but I think that is all kinds of awesome.</p>
<p>&#160;</p>
<h3>PowerShell Profiles</h3>
<p>These help to load up certain modules/snapins when you load up PowerShell. This means you can port your profiles to any environment and be able to load into a familiar setup.</p>
<p>&#160;</p>
<h3>Comparison operators</h3>
<table border="0" cellspacing="0" cellpadding="2" width="361">
<tbody>
<tr>
<td valign="top" width="141"><strong>Operator</strong></td>
<td valign="top" width="248"><strong>Description</strong></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-eq</font></td>
<td valign="top" width="248"><font color="#666666">Equal to</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-ieq</font></td>
<td valign="top" width="248"><font color="#666666">Equal to (case-<em>insensitive</em>)</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-ceq</font></td>
<td valign="top" width="248"><font color="#666666">Equal to (case-<em>sensitive</em>)</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-ge</font></td>
<td valign="top" width="248"><font color="#666666">Greater than or Equal to</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-gt</font></td>
<td valign="top" width="248"><font color="#666666">Greater than</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-le</font></td>
<td valign="top" width="248"><font color="#666666">Less than or Equal to</font></td>
</tr>
<tr>
<td valign="top" width="141"><font color="#666666">-lt</font></td>
<td valign="top" width="248"><font color="#666666">Less than</font></td>
</tr>
</tbody>
</table>
<h3>Logical Operators</h3>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><strong>Operator</strong></td>
<td valign="top" width="200"><strong>Description</strong></td>
</tr>
<tr>
<td valign="top" width="200"><font color="#666666">-and</font></td>
<td valign="top" width="200"><font color="#666666">And</font></td>
</tr>
<tr>
<td valign="top" width="200"><font color="#666666">-ne</font></td>
<td valign="top" width="200"><font color="#666666">Not Equal to</font></td>
</tr>
<tr>
<td valign="top" width="200"><font color="#666666">-not</font></td>
<td valign="top" width="200"><font color="#666666">Not</font></td>
</tr>
<tr>
<td valign="top" width="200"><font color="#666666">!</font></td>
<td valign="top" width="200"><font color="#666666">Not</font></td>
</tr>
<tr>
<td valign="top" width="200"><font color="#666666">-or</font></td>
<td valign="top" width="200"><font color="#666666">OR</font></td>
</tr>
</tbody>
</table>
<p>more operator notes over at <a href="http://ss64.com/ps/syntax-compare.html">http://ss64.com/ps/syntax-compare.html</a></p>
<p>&#160;</p>
<h3>PowerShell Resources – great for those just starting out in PowerShell</h3>
<ul>
<li><a href="http://sqlvariant.com/wordpress/index.php/2010/05/powershell-week-at-sql-university-post-0/" target="_blank">PowerShell Day 0</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2010/05/powershell-week-at-sql-university-post-1/" target="_blank">PowerShell Day 1</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2010/05/powershell-week-at-sql-university-post-2/" target="_blank">PowerShell Day 2</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2010/05/powershell-week-at-sql-university-post-3/" target="_blank">PowerShell Day 3</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2011/01/powershell-week-at-sql-university-post-4/" target="_blank">PowerShell Day 4</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2011/01/powershell-week-at-sql-university-post-5/" target="_blank">PowerShell Day 5</a> </li>
<li><a href="http://sqlvariant.com/wordpress/index.php/2011/01/powershell-week-at-sql-university-post-6/" target="_blank">PowerShell Day 6</a> </li>
<li><a href="http://www.scriptingguys.com">http://www.scriptingguys.com</a> </li>
<li><a href="http://www.poshcode.org">http://www.poshcode.org</a> </li>
<li><a href="http://blogs.technet.com/b/heyscriptingguy/">http://blogs.technet.com/b/heyscriptingguy/</a> </li>
<li><a href="http://www.beefycode.com/">http://www.beefycode.com/</a> </li>
<li><a href="http://www.techrepublic.com/blog/10things/10-fundamental-concepts-for-powershell-scripting/2146?tag=rbxccnbtr1" target="_blank">10 Fundamental Concepts for PowerShell Scripting</a> </li>
<li><a href="http://www.sqlservercentral.com/articles/powershell/73289/" target="_blank">Finding Free Space per data file with PowerShell</a><!--EndFragment--> </li>
<li><a href="http://sev17.com/2011/03/restore-and-relocate-database-files-using-powershell/" target="_blank">Restore and relocate database files using PowerShell</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-7-day-2-precon-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Journey to the PASS Summit 2011 &#8211; Part 4 &#8211; My Pre Conference Session Picks</title>
		<link>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-4-my-pre-conference-session-picks/</link>
		<comments>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-4-my-pre-conference-session-picks/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 19:36:02 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[PASS Summit 2011]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[SQLServerPedia Syndication]]></category>
		<category><![CDATA[PASS Summit]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[precons]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sqlpass]]></category>
		<category><![CDATA[sqlserversyndication]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-4-my-pre-conference-session-picks/</guid>
		<description><![CDATA[This is Part 4 in a series I am writing about my journey to the PASS Summit 2011. If you missed the previous entries, you can read about them here [Part 1, Part 2, Part 3]. Follow the journey on &#8230; <a href="http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-4-my-pre-conference-session-picks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://lukehayler.com/wp-content/uploads/2011/10/PASS_2011_button_180x180.png"><img style="background-image: none; border-right-width: 0px; margin: 0px 19px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="PASS_2011_button_180x180" border="0" alt="PASS_2011_button_180x180" align="left" src="http://lukehayler.com/wp-content/uploads/2011/10/PASS_2011_button_180x180_thumb.png" width="180" height="240" /></a>This is Part 4 in a series I am writing about my journey to <a href="http://www.sqlpass.org/summit/2011/" target="_blank">the PASS Summit 2011</a>. If you missed the previous entries, you can read about them here [<a href="http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/" target="_blank">Part 1</a>, <a href="http://lukehayler.com/2011/08/journey-to-sql-pass-summit-2011-part-2-logistics/" target="_blank">Part 2</a>, <a href="http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/" target="_blank">Part 3</a>]. Follow the journey on twitter with the <a href="http://twitter.com/#!/search/realtime/%23j2pass2011" target="_blank">#j2pass2011</a>, and feel free to use the tag for your own journey! </p>
<h3>Pre Cons!</h3>
<p>Choosing a pre conference session for Monday/Tuesday was rather difficult. Do you choose something completely new to learn, or do you learn something new about a subject area in which you are already fairly familiar? Not to be outdone by my own questions, I chose to do one completely new subject area and one deeper dive into something I am fairly good at (but know I could be even better). Here are my picks:</p>
<ul>
<li>Keeping it local with Rob Farley (<a href="http://sqlblog.com/blogs/rob_farley/" target="_blank">Blog</a> | <a href="http://twitter.com/#!/rob_farley" target="_blank">@rob_farley</a>)– “<a href="http://www.sqlpass.org/summit/2011/Speakers/CallForSpeakers/SessionDetail.aspx?sid=1204" target="_blank">Fixing Queries with Advanced T-SQL constructs</a>” </li>
<li>Something new with Aaron Nelson (<a href="http://sqlvariant.com/wordpress/" target="_blank">Blog</a> | <a href="http://twitter.com/#!/SQLVariant" target="_blank">@SQLVariant</a>) – “<a href="http://www.sqlpass.org/summit/2011/Speakers/CallForSpeakers/SessionDetail.aspx?sid=1737" target="_blank">After 7 hours you won’t be able to shut up about PowerShell either</a>” </li>
</ul>
<p>It’s my belief that you can always improve the skills you already have and that’s why I’m going to Rob’s Pre-con. My T-SQL is pretty good, but I know there are areas that could do with some improvement. I hoping to get quite a bit out of this session. No pressure Rob!</p>
<p>I also believe that you should stretch yourself and try to learn something new every now and again. Especially when it comes to software or processes. Learning something new gives you a broader perspective and you’ll be better equipped to make the right decisions. This is why I’m taking Aaron’s Pre-con. I have only ever <em>heard</em> the great things about PowerShell can do. I’ll be looking to apply this new knowledge immediately for all the BI projects I work on. </p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/10/journey-to-the-pass-summit-2011-part-4-my-pre-conference-session-picks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-SQL Script to Identify Space Used By Each Table in a Database</title>
		<link>http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/</link>
		<comments>http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 21:21:16 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[admin scripts]]></category>
		<category><![CDATA[sqlpass]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/</guid>
		<description><![CDATA[There are often times that I need to do checks on the space used by databases on the server, and in particular, the tables in those databases. This is a script that I quickly put together that will return the &#8230; <a href="http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are often times that I need to do checks on the space used by databases on the server, and in particular, the tables in those databases. This is a script that I quickly put together that will return the following information for each of the tables in the database on which the script is run. The following information is returned:</p>
<ul>
<ul>
<li>Table Name </li>
<li>Row Count </li>
<li>Reserved Space (KB) </li>
<li>Data space used (KB) </li>
<li>Index size (KB) </li>
<li>Unused space (KB) </li>
</ul>
</ul>
<p>The above information is gathered using <a href="http://msdn.microsoft.com/en-us/library/ms188776.aspx" target="_blank">sp_spaceused</a>. Now I’m sure that there are a number of other ways to get this information, but this was quick and easy to produce and use. If you have anything that you’d like to contribute, I’d love to hear it.</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 99.19%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 1450px; max-height: 1450px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #008000">/***</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> <span style="color: #008000">    Script to identify the space used by each table in a database</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> <span style="color: #008000">    Information returned includes:</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> <span style="color: #008000">        - Table name</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span> <span style="color: #008000">        - Record Count</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span> <span style="color: #008000">        - Reserved Space (KB)</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span> <span style="color: #008000">        - Data Size (KB)</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span> <span style="color: #008000">        - Index Size (KB)</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span> <span style="color: #008000">        - Unused Space (KB)</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span> <span style="color: #008000">***/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span> <span style="color: #008000">/* Create a table variable to hold the values returned by sp_spaceused  */</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span> <span style="color: #0000ff">DECLARE</span> @Results <span style="color: #0000ff">TABLE</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span> (</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>       RowNum            <span style="color: #0000ff">INT</span> <span style="color: #0000ff">IDENTITY</span>(1,1)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>     , TableName         <span style="color: #0000ff">VARCHAR</span>(200)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>     , Records           <span style="color: #0000ff">INT</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>     , ReservedSpace     <span style="color: #0000ff">VARCHAR</span>(100)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span>     , DataSpace         <span style="color: #0000ff">VARCHAR</span>(100)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span>     , IndexSizeSpace    <span style="color: #0000ff">VARCHAR</span>(100)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum21">  21:</span>     , UnUsedSpace       <span style="color: #0000ff">VARCHAR</span>(100)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum22">  22:</span>     , CheckDateTime     DateTime <span style="color: #0000ff">DEFAULT</span> GETDATE()</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum23">  23:</span> )</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum24">  24:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum25">  25:</span> <span style="color: #008000">/* Declare a variable to hold the Object Names */</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum26">  26:</span> <span style="color: #0000ff">DECLARE</span> @ObjectName <span style="color: #0000ff">VARCHAR</span>(200)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum27">  27:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum28">  28:</span> <span style="color: #008000">/* </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum29">  29:</span> <span style="color: #008000">    Declare a cursor to loop through each of the tables in the database </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum30">  30:</span> <span style="color: #008000">    and return their space used information. </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum31">  31:</span> <span style="color: #008000">*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum32">  32:</span> <span style="color: #0000ff">DECLARE</span> TableCursor <span style="color: #0000ff">CURSOR</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum33">  33:</span> <span style="color: #0000ff">FOR</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum34">  34:</span>     <span style="color: #0000ff">SELECT</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum35">  35:</span>         ObjectName = TABLE_SCHEMA + <span style="color: #006080">'.'</span> + TABLE_NAME</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum36">  36:</span>     <span style="color: #0000ff">FROM</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum37">  37:</span>         INFORMATION_SCHEMA.TABLES</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum38">  38:</span>     <span style="color: #0000ff">WHERE</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum39">  39:</span>         TABLE_TYPE = <span style="color: #006080">'BASE TABLE'</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum40">  40:</span>     </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum41">  41:</span> <span style="color: #0000ff">OPEN</span> TableCursor</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum42">  42:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum43">  43:</span> <span style="color: #0000ff">FETCH</span> <span style="color: #0000ff">NEXT</span> <span style="color: #0000ff">FROM</span> TableCursor</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum44">  44:</span> <span style="color: #0000ff">INTO</span> @ObjectName</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum45">  45:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum46">  46:</span> <span style="color: #0000ff">WHILE</span> <span style="color: #cc6633">@@FETCH_STATUS</span> = 0</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum47">  47:</span> <span style="color: #0000ff">BEGIN</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum48">  48:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum49">  49:</span>     <span style="color: #008000">/* Execute sp_Spaceused for each table and load the results into the table variable  */</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum50">  50:</span>     INSERT <span style="color: #0000ff">INTO</span> @Results </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum51">  51:</span>     (</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum52">  52:</span>           TableName            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum53">  53:</span>         , Records            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum54">  54:</span>         , ReservedSpace        </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum55">  55:</span>         , DataSpace            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum56">  56:</span>         , IndexSizeSpace    </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum57">  57:</span>         , UnUsedSpace</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum58">  58:</span>     )</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum59">  59:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum60">  60:</span>     <span style="color: #008000">/* </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum61">  61:</span> <span style="color: #008000">        Uncomment the @updateusage option if you want to ensure your stats are up-to-date</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum62">  62:</span> <span style="color: #008000">        However, this may take some time depending on the size of your database tables. </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum63">  63:</span> <span style="color: #008000">        It is set to 'false' in sp_spacedused by default.</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum64">  64:</span> <span style="color: #008000">    */    </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum65">  65:</span>     <span style="color: #0000ff">EXEC</span> sp_spaceused @ObjectName</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum66">  66:</span>     --, @updateusage  = <span style="color: #006080">'true'</span>        </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum67">  67:</span>     ;    </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum68">  68:</span>     </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum69">  69:</span>     <span style="color: #0000ff">FETCH</span> <span style="color: #0000ff">NEXT</span> <span style="color: #0000ff">FROM</span> TableCursor</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum70">  70:</span>     <span style="color: #0000ff">INTO</span> @ObjectName</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum71">  71:</span> <span style="color: #0000ff">END</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum72">  72:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum73">  73:</span> <span style="color: #0000ff">CLOSE</span> TableCursor</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum74">  74:</span> <span style="color: #0000ff">DEALLOCATE</span> TableCursor</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum75">  75:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum76">  76:</span> <span style="color: #008000">/*    </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum77">  77:</span> <span style="color: #008000">    Get the list of tables and their associated space usage data.</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum78">  78:</span> <span style="color: #008000">    Update to your preferred format</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum79">  79:</span> <span style="color: #008000">*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum80">  80:</span> <span style="color: #0000ff">SELECT</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum81">  81:</span>       TableName            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum82">  82:</span>     , Records            </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum83">  83:</span>     , ReservedSpace        = <span style="color: #0000ff">CAST</span>(<span style="color: #0000ff">SUBSTRING</span>(ReservedSpace, 1, LEN(ReservedSpace)-3) <span style="color: #0000ff">AS</span> <span style="color: #0000ff">INT</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum84">  84:</span>     , DataSpace            = <span style="color: #0000ff">CAST</span>(<span style="color: #0000ff">SUBSTRING</span>(DataSpace, 1, LEN(DataSpace)-3) <span style="color: #0000ff">AS</span> <span style="color: #0000ff">INT</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum85">  85:</span>     , IndexSizeSpace    = <span style="color: #0000ff">CAST</span>(<span style="color: #0000ff">SUBSTRING</span>(IndexSizeSpace, 1, LEN(IndexSizeSpace)-3) <span style="color: #0000ff">AS</span> <span style="color: #0000ff">INT</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum86">  86:</span>     , UnUsedSpace        = <span style="color: #0000ff">CAST</span>(<span style="color: #0000ff">SUBSTRING</span>(UnUsedSpace, 1, LEN(UnUsedSpace)-3) <span style="color: #0000ff">AS</span> <span style="color: #0000ff">INT</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum87">  87:</span> <span style="color: #0000ff">FROM</span> @Results</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum88">  88:</span> <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum89">  89:</span>     TableName</pre>
<p><!--CRLF--></div>
</div>
<p>Copy. Paste. Enjoy.</p>
<p>&#160;</p>
<p>**UPDATE – 2011/09/14**</p>
<p>My friend Jim McLeod (<a href="http://www.jimmcleod.net" target="_blank">Blog</a> | <a href="http://twitter.com/jim_mcleod" target="_blank">Twitter</a>) has informed me that there is a better way to get the space used and row count details for objects in your database. His script utilises the sysindexes table, which means that this is compatible across a wider set of SQL Server versions including 2000/2005/2008. His original script appears in the comments below. I have reproduced it here with a little formatting, commenting and an extra table to restrict the results to just *user* tables:</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 99.11%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 450px; max-height: 450px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #008000">/***</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> <span style="color: #008000">    This script will generate a list of User tables</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> <span style="color: #008000">    and their associated space used and row count details.</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> <span style="color: #008000">***/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span> <span style="color: #0000ff">SELECT</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>       SchemaName    = ss.name</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     , ObjectName    = OBJECT_NAME(si.id)</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     , ReservedMB    = reserved * 8/1024.0</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>     , DataMB        = dpages * 8/1024.0</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>     , RecCount      = rowcnt   </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span> <span style="color: #0000ff">FROM</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>             sysindexes si</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span> <span style="color: #0000ff">INNER</span> <span style="color: #0000ff">JOIN</span>  sys.objects so  <span style="color: #0000ff">ON</span>    si.id = so.object_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span> <span style="color: #0000ff">INNER</span> <span style="color: #0000ff">JOIN</span>    sys.schemas ss    <span style="color: #0000ff">ON</span>    so.schema_id = ss.schema_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span> <span style="color: #0000ff">WHERE</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span> <span style="color: #008000">/*    Limit the resultset to bring back Heaps &amp; Clustered indexes only </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span> <span style="color: #008000">    (Heap = 0, Clustered Index = 1)</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span> <span style="color: #008000">*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum21">  21:</span>     indid &lt; 2        </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum22">  22:</span> <span style="color: #008000">/*    We only want to see the 'user' tables at this stage. </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum23">  23:</span> <span style="color: #008000">    You can include System tables by adding 'S' to the xtype clause </span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum24">  24:</span> <span style="color: #008000">*/</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum25">  25:</span> <span style="color: #0000ff">AND</span> type = <span style="color: #006080">'U'</span>        </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum26">  26:</span> <span style="color: #0000ff">ORDER</span> <span style="color: #0000ff">BY</span> </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum27">  27:</span>     SchemaName,</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum28">  28:</span>     ObjectName</pre>
<p><!--CRLF--></div>
</div>
<p>I’ve left the first script in the post for comparison. Thanks Jim!</p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/09/t-sql-script-to-identify-space-used-by-each-table-in-a-database/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Journey to SQL PASS 2011 &#8211; Part 3 &#8211; Speed up Networking at the PASS Summit 2011 with QR Codes</title>
		<link>http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/</link>
		<comments>http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 11:48:41 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[PASS Summit 2011]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[PASS Summit]]></category>
		<category><![CDATA[qr codes]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sqlpass]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/</guid>
		<description><![CDATA[So I have recently been having a look into QR codes. In fact, only since about.me had a offer to create a bunch of moo business cards (that included a QR code of your contact info) and only charge me &#8230; <a href="http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img style="background-image: none; border-right-width: 0px; margin: 0px 18px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" border="0" align="left" src="http://lukehayler.com/wp-content/uploads/2011/08/PASS_2011_button_180x180.png" />So I have recently been having a look into <a href="http://en.wikipedia.org/wiki/QR_code" target="_blank">QR codes</a>. In fact, only since <a href="http://about.me/lukehayler" target="_blank">about.me</a> had a offer to create a bunch of <a href="http://moo.com" target="_blank">moo business cards</a> (that included a QR code of your contact info) and only charge me postage, did I really start to think about them. </p>
<p>A QR Code (<strong>Q</strong>uick <strong>R</strong>esponse code) is a 2D matrix barcode designed to be read by smart phones. The information in the QR code can be text, a URL, vCard information, or other data. So I figure that at a conference like the <a href="http://www.sqlpass.org" target="_blank">PASS Summit</a>, where there’ll be thousands of geeks, most with a smartphone of sorts, this could be a conversation starter. Especially if you’re rockin&#8217;’ a <a href="http://www.zazzle.com.au/qrazy_about_codes_www_qrme_co_uk_waves_tshirt-235643490633771408" target="_blank">QR t-shirt</a>. </p>
<p>If you need a get a QR Code reader, just do a search for “QR Reader” in you favourite app store.</p>
<p>I’m planning on creating a couple of things to help with networking at the PASS Summit…</p>
<h3>Business Cards</h3>
<p>I’ll have a whole stash of business cards to hand out each day (you should too by the way, <a href="http://moo.com" target="_blank">so get ordering</a>) and I plan to have two QR codes on the back of the cards. one will be for all my contact details. Have you tried to capture all the data from a business card with one of those *business Card reader* apps, that a) cost a fare whack, and b) don’t work all that well. Well, now think of this. You have a smartphone, you meet me, I give you a business card. You say, “hey, you’ve got a QR code back here!” out come the phone, snap with the QR Code reader and BAMO! you’ve got all my contact details neatly, and correctly I might add, ready to be saved to your phone. Try this sanitised code below:</p>
<p><a href="http://lukehayler.com/wp-content/uploads/2011/09/chart-1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="chart (1)" border="0" alt="chart (1)" src="http://lukehayler.com/wp-content/uploads/2011/09/chart-1_thumb.png" width="234" height="234" /></a></p>
<p>There is some basic contact information in there, but you’ll get the idea.</p>
<p>The other QR Code, will be this one, which holds but a single URL (which, if you really don’t want to scan with your fancy phone, goes here –&gt; <a href="http://kimtag.com/lukehayler">http://kimtag.com/lukehayler</a>)</p>
<p><a href="http://lukehayler.com/wp-content/uploads/2011/09/lukehayler_qr.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="lukehayler_qr" border="0" alt="lukehayler_qr" src="http://lukehayler.com/wp-content/uploads/2011/09/lukehayler_qr_thumb.jpg" width="244" height="244" /></a></p>
<p>&#160;</p>
<h3>T-shirts</h3>
<p>Yup. I’m going to spend good money to design a [hopefully] decent t-shirt that will have QR codes galore that anyone in some kind of proximity to me will be able to scan and therefore find out a little more about me. the alternative is of course to come over and say hello, but that would just be a bit too ‘old school’ now wouldn’t it…</p>
<p>Here’s a picture from the internet:</p>
<p><a href="http://lukehayler.com/wp-content/uploads/2011/09/t-shirt-velcro-qr-code.jpg"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="t-shirt-velcro-qr-code" border="0" alt="t-shirt-velcro-qr-code" src="http://lukehayler.com/wp-content/uploads/2011/09/t-shirt-velcro-qr-code_thumb.jpg" width="260" height="182" /></a></p>
<p>See, you could be cool too.</p>
<p>I’m also led to believe that <a href="http://tag.microsoft.com/home.aspx" target="_blank">Microsoft does something similar</a> called a Tag. I’ll be looking into these next and seeing how they compare.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/09/journey-to-sql-pass-2011-part-3-speed-up-networking-at-the-pass-summit-2011-with-qr-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Journey to the SQL PASS Summit 2011 &#8211; Part 1</title>
		<link>http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/</link>
		<comments>http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 21:45:54 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[PASS Summit 2011]]></category>
		<category><![CDATA[Professional Development]]></category>
		<category><![CDATA[PASS Summit]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[sqlpass]]></category>

		<guid isPermaLink="false">http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/</guid>
		<description><![CDATA[In just over two month’s time I will be flying into Seattle, WA for this year’s PASS Summit. It will be my first Summit experience and I’m hyped. Ever since I first heard about the PASS Summit I’ve wanted to &#8230; <a href="http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In just over two month’s time I will be flying into Seattle, WA for this year’s PASS Summit. It will be my first Summit experience and I’m hyped. </p>
<p>Ever since I first heard about the PASS Summit I’ve wanted to be a part of it. The opportunity to <strike>geek-out</strike> network with not just database professionals, but with SQL Server Database professionals. The opportunity to learn about not just new technologies, but about new things with the current technologies. The opportunity to make some new friends and to put faces to names; to meet those that I have only talked to online (Twitter | Google+ | Blogs | etc). This year, I get to make the most of all of these opportunities. I’m very excited. Did I mention that I was excited?</p>
<p>Yes, I’m a first timer. While I have read a lot about the PASS Summit and have heard numerous stories about SQL Karaoke, this is still going to be an overwhelming experience. I want to ensure that I get the most out of the Summit; so I need to make sure that I have a plan of what I’m doing, where I’m going, &amp; who I want to meet. I can’t do this if I’m bogged down in trying to figure out the basics. Thankfully the good folks at SQL PASS put together a First-Timers Orientation program to help people like me. Tom LaRock (<a href="http://thomaslarock.com/" target="_blank">Blog</a> | <a href="http://twitter.com/SQLRockstar" target="_blank">Twitter</a>) wrote a good <a href="http://www.sqlpass.org/Community/PASSBlog/entryid/358/Enhancing-First-Timers-Summit-Experience.aspx" target="_blank">blog post about the program.</a> </p>
<p>Essentially, the orientation will include being paired up with a Big Brother/Sister (along with several other first-timers) well ahead of the summit itself. This will give us the chance to talk to the big brother/sister and find out the do’s/don’t, where information can be found, and generally learning from their previous experiences. It will also give us a chance to meet a few people ahead of the summit itself; ensuring that you don’t wander around the conference like a lost fart in the wind. </p>
<p>I think the orientation program is a wonderful idea and have already signed up. If you’re a first-timer too and you would like to participate then send an email through to <a href="http://www.sqlpass.org/Community/PASSBlog/entryid/358/">newcomer@sqlpass.org</a> and ask to be included in the program. Perhaps I’ll be part of your group. Apologies if that worries you…</p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2011/08/journey-to-the-sql-pass-summit-2011-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>24 Hours of PASS &#8211; SQL Server 2008 R2</title>
		<link>http://lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/</link>
		<comments>http://lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 20:54:26 +0000</pubDate>
		<dc:creator>Luke Hayler</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Luke Hayler]]></category>
		<category><![CDATA[free stuff]]></category>
		<category><![CDATA[PASS]]></category>
		<category><![CDATA[sqlpass]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://www.lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/</guid>
		<description><![CDATA[Another entire day of presentations from leading speakers and experts and all about SQL Server? Sign me up. PASS has put together another&#160; amazing online event, featuring 24 back-to-back webcasts covering SQL Server and Business Intelligence, starting at 12:00 (GMT) &#8230; <a href="http://lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Another entire day of presentations from leading speakers and experts and all about SQL Server? Sign me up. PASS has put together another&#160; <a href="http://www.sqlpass.org/24hours/2010/" target="_blank">amazing online event</a>, featuring 24 back-to-back webcasts covering SQL Server and Business Intelligence, starting at 12:00 (GMT) on the 19th May 2010. </p>
<p><a href="https://www323.livemeeting.com/lrs/8000181573/Registration.aspx?pageName=7sh5kdvjm47xplbf" target="_blank">Registration</a> is entirely free, so go take a look at what sessions would suit your needs and sign up. There are several tracks that are covered in this event: Business Intelligence (BI), Database Administration (DBA), Development (DEV), Professional Development (PD) &#8211; each of which have several sessions devoted to them. You can see the list of available sessions here, but some to note are:</p>
<ul>
<li>(BI) Solving common business problems with Microsoft PowerPivot &#8211; Donald Farmer (<a href="http://www.beyeblogs.com/donaldfarmer/" target="_blank">Blog</a> | <a href="http://twitter.com/donalddotfarmer" target="_blank">@Donalddotfarmer</a>) </li>
<li>(BI) Easier than ever Report Authoring in SSRS 2008 &#8211; Jessica M. Moss (<a href="http://jessicammoss.blogspot.com/" target="_blank">Blog</a> | <a href="http://twitter.com/jessicammoss" target="_blank">@jessicammoss</a>) </li>
<li>(BI) Reporting Services Enhancements in SQL Server 2008 &#8211; Greg Low (<a href="http://sqlblog.com/blogs/greg_low/default.aspx" target="_blank">Blog</a> | <a href="http://twitter.com/GregLow" target="_blank">@Greg_Low</a>) </li>
<li>(DBA) What’s really happening on Your Server? 15 Powerful SQL Server Data Management Objects &#8211; Adam Machanic (<a href="http://sqlblog.com/blogs/adam_machanic/" target="_blank">Blog</a> | <a href="http://twitter.com/AdamMachanic" target="_blank">@AdamMachanic</a>) </li>
<li>(DBA) Top 10 Mistakes on SQL Server &#8211; Kevin Kline (<a href="http://sqlblog.com/blogs/kevin_kline/" target="_blank">Blog</a> | <a href="http://twitter.com/kekline" target="_blank">@kekline</a>) </li>
<li>(DBA) BLITZ! 60 Minute Server Takeovers &#8211; Brent Ozar (<a href="http://www.brentozar.com" target="_blank">Blog</a> | <a href="http://twitter.com/BrentO" target="_blank">@BrentO</a>) </li>
<li>(DEV) High Performance Functions &#8211; Simon Sabin (<a href="http://sqlblogcasts.com/blogs/simons/" target="_blank">Blog</a> | <a href="http://twitter.com/simon_sabin" target="_blank">@simon_sabin</a>) </li>
<li>(PD) Manage your DBA Career, Don’t Let it Manage You &#8211; Brad McGehee (<a href="http://www.bradmcgehee.com/" target="_blank">Blog</a> | <a href="http://twitter.com/bradmcgehee" target="_blank">@bradmcgehee</a>) </li>
</ul>
<p>So what are you waiting for? Go tell your boss you’re taking a training day. In fact tell him/her that you are going to get 3 days of training all packed into a single day and all he/she has to pay for is your time away from your desk. Considering what you are going to take away from this event, that’s a pretty good deal. By any standard. So stock up on whatever [legal] stimulants you are partial to (coffee/bacon/etc) and register for one, several, or if your name is <a href="http://thomaslarock.com/" target="_blank">Thomas LaRock</a>, every single session and then <a href="http://www.ustream.tv/channel/24-hours-of-pass" target="_blank">screen cast your efforts using UStream</a>. Read <a href="http://www.sqlpass.org/Community/PASSBlog/tabid/75/Default.aspx#Rockstar" target="_blank">the 24 HOP Team’s interview with Tom</a> for more insight.</p>
<p>Oh, and if you are going to follow (or indeed tweet about) the event on Twitter, use the <a href="http://twitter.com/#search?q=%2324hop" target="_blank">#24HOP</a> hashtag.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukehayler.com/2010/04/24-hours-of-pass-sql-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

