<?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>belle's sql musings &#187; DBA Toolbox / T-SQL Scripts</title>
	<atom:link href="http://www.sqlmusings.com/category/dba-toolbox-t-sql-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sqlmusings.com</link>
	<description>ramblings, discoveries, tutorials on sql server and other database stuff</description>
	<lastBuildDate>Sat, 04 Feb 2012 21:16:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Different T-SQL Date Variations for Date Dimensions</title>
		<link>http://www.sqlmusings.com/2011/02/10/different-tsql-date-variations-for-date-dimensions/</link>
		<comments>http://www.sqlmusings.com/2011/02/10/different-tsql-date-variations-for-date-dimensions/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 09:28:36 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[T-SQL Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1640</guid>
		<description><![CDATA[Just another handy code snippet for generating dates for date dimensions in your data warehouse. I am providing just the select statement here, but to generate (massive) date records, just create and set your start and end date variables, and enclose your insert and the code below in your WHILE loop. Here&#8217;s a table summary [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2011/02/10/different-tsql-date-variations-for-date-dimensions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>tablediff.exe &#8211; Compare and Synchronize your SQL Server tables</title>
		<link>http://www.sqlmusings.com/2010/10/10/tablediff-exe-compare-and-synchronize-your-sql-server-tables/</link>
		<comments>http://www.sqlmusings.com/2010/10/10/tablediff-exe-compare-and-synchronize-your-sql-server-tables/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 04:35:36 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[musings]]></category>
		<category><![CDATA[Misc Scripts]]></category>
		<category><![CDATA[T-SQL Tips and Tricks]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1570</guid>
		<description><![CDATA[Need to check if your tables in 2 different servers are out-of-sync? SQL Server comes with a command line tool that does the job. It&#8217;s called tablediff.exe (read up BOL entry for this nifty tool). By default, you can find this in the COM directory of your SQL Server install folder. In SQL Server 2005 [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2010/10/10/tablediff-exe-compare-and-synchronize-your-sql-server-tables/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Excellent Free Ebooks from RedGate</title>
		<link>http://www.sqlmusings.com/2009/10/07/excellent-free-ebooks-from-redgate/</link>
		<comments>http://www.sqlmusings.com/2009/10/07/excellent-free-ebooks-from-redgate/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 06:39:25 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Ebooks]]></category>
		<category><![CDATA[Resources/References]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=1096</guid>
		<description><![CDATA[Excellent Free Ebooks from RedGate SQL Server eBook Selection 1. Protecting SQL Server Data by John Magnabosco 2. The Art of High Performance SQL by Grant Fritchey 3. The Art of XSD by Jacob Sebastian 4. Two Minute SQL Server Stumpers Vol. 5 DBA Ebooks Bundle 1. Mastering SQL Server Profiler 2. Brad&#8217;s Sure Guide [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/10/07/excellent-free-ebooks-from-redgate/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL Server XML Red Gate Ebook, XQuery Labs</title>
		<link>http://www.sqlmusings.com/2009/06/08/sql-server-xml-red-gate-ebook-xquery-labs/</link>
		<comments>http://www.sqlmusings.com/2009/06/08/sql-server-xml-red-gate-ebook-xquery-labs/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 02:35:09 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Ebooks]]></category>
		<category><![CDATA[Resources/References]]></category>
		<category><![CDATA[SQLXML]]></category>
		<category><![CDATA[T-SQL Tips and Tricks]]></category>
		<category><![CDATA[Ebook]]></category>
		<category><![CDATA[SQLXML How To]]></category>
		<category><![CDATA[XSD]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=924</guid>
		<description><![CDATA[Jacob Sebastian is a SQL Server XML Guru! Check out his collection for XQUery Labs. This is the first 12 of his series, and right now he has 43 and counting: XQuery Sample Scripts * XQuery Lab 1 &#8211; Transforming rows to columns * XQuery Lab 2 &#8211; An example using OUTER APPLY * XQuery [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/08/sql-server-xml-red-gate-ebook-xquery-labs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : Search for SQL Server Objects Using PowerShell</title>
		<link>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 07:49:31 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=860</guid>
		<description><![CDATA[I have posted previously 3 different ways of searching for SQL Server Objects (How to Search for Columns in SQL Server ). Here&#8217;s a fourth one! Check out how powerful and flexible PowerShell is when you need to look for a database object. In the script below, I only search databases, tables, columns, and indexes. [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/04/sql-server-powershell-search-for-sql-server-objects-using-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Audit Your SQL Server Instance Properties Using PowerShell and SMO</title>
		<link>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/</link>
		<comments>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 07:11:27 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=845</guid>
		<description><![CDATA[Here is a simple script to audit your SQL Server Instance Properties. Note that the property names are not hardcoded. We query each of these properties, and use those to display the property values. If you prefer, you can also query directly each of the properties of an instance. If this is the case, just [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/03/sql-server-powershell-how-to-audit-your-sql-server-instance-properties-using-powershell-and-smo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Restore SQL Server Databases Using SMO and PowerShell</title>
		<link>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:05:34 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=809</guid>
		<description><![CDATA[A follow-up to my previous post: How to Restore SQL Server Databases Using SMO and PowerShell In this post I will show you how you can restore your database to : 1. the existing database (same database name) 2. a different database (different database name, different mdf and ldf) As with the previous post, to [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/06/01/how-to-restore-sql-server-databases-using-smo-and-powershell/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>SQL Server PowerShell : How to Backup SQL Server Databases Using SMO and PowerShell</title>
		<link>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/</link>
		<comments>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/#comments</comments>
		<pubDate>Sun, 31 May 2009 17:04:27 +0000</pubDate>
		<dc:creator>belle</dc:creator>
				<category><![CDATA[DBA Toolbox / T-SQL Scripts]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[SMO]]></category>
		<category><![CDATA[SQL Server Powershell]]></category>

		<guid isPermaLink="false">http://www.sqlmusings.com/?p=787</guid>
		<description><![CDATA[PowerShell makes it easier to manage even your database backups and restore. To do a SQL Server backup in SQL Server, you will need to use the SMO SqlBackup method. In SQL Server 2008, you will need to load Microsoft.SqlServer.SmoExtended assembly otherwise, you will get the following error: Cannot find type [Microsoft.SqlServer.Management.Smo.Backup]: make sure the [...]

<p style="margin-top:25px"><strong>No related posts.</strong>]]></description>
		<wfw:commentRss>http://www.sqlmusings.com/2009/05/31/how-to-backup-sql-server-databases-using-smo-and-powershell/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

