<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Journey to SQL Authority with Pinal Dave &#187; SQL Utility</title>
	<atom:link href="http://blog.sqlauthority.com/category/sql-utility/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Tue, 16 Mar 2010 15:40:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Journey to SQL Authority with Pinal Dave &#187; SQL Utility</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.sqlauthority.com/osd.xml" title="Journey to SQL Authority with Pinal Dave" />
	<atom:link rel='hub' href='http://blog.sqlauthority.com/?pushpress=hub'/>
		<item>
		<title>SQL SERVER &#8211; Get Server Version and Additional Info</title>
		<link>http://blog.sqlauthority.com/2010/01/17/sql-server-get-server-version-and-additional-info/</link>
		<comments>http://blog.sqlauthority.com/2010/01/17/sql-server-get-server-version-and-additional-info/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 01:30:21 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7783</guid>
		<description><![CDATA[It is quite common to get the SQL Server version details from following query.
SELECT @@VERSION VersionInfo
GO

Recently I have been using following SP to get version details as it also provides me few more information about the server where the SQL Server is installed.
EXEC xp_msver
GO


I like to use the second one but again that is my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7783&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">It is quite common to get the SQL Server version details from following query.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:#434343;">@@VERSION </span><span style="color:black;">VersionInfo<br />
GO</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/version1.jpg" alt="" width="500" height="172" /></p>
<p style="text-align:justify;">Recently I have been using following SP to get version details as it also provides me few more information about the server where the SQL Server is installed.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">EXEC </span><span style="color:darkred;">xp_msver<br />
</span><span style="color:black;">GO<br />
</span></code></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/version2.jpg" alt="" width="554" height="422" /></p>
<p style="text-align:justify;">I like to use the second one but again that is my preference.</p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
<br />Posted in Database, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7783/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7783&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/01/17/sql-server-get-server-version-and-additional-info/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/version1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/version2.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Microsoft SQL Server Migration Assistant 2008 for MySQL v1.0 CTP1</title>
		<link>http://blog.sqlauthority.com/2010/01/09/sqlauthority-news-microsoft-sql-server-migration-assistant-2008-for-mysql-v1-0-ctp1/</link>
		<comments>http://blog.sqlauthority.com/2010/01/09/sqlauthority-news-microsoft-sql-server-migration-assistant-2008-for-mysql-v1-0-ctp1/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Azure]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7720</guid>
		<description><![CDATA[Microsoft SQL Server Migration Assistant (SSMA) 2008 is a toolkit that dramatically cuts the effort, cost, and risk of migrating from MySQL to SQL Server 2008 and SQL Azure.
Download Microsoft SQL Server Migration Assistant 2008 for MySQL v1.0 CTP1
Reference: Pinal Dave (http://blog.SQLAuthority.com)
Posted in SQL, SQL Authority, SQL Documentation, SQL Download, SQL Query, SQL Server, SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7720&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Microsoft SQL Server Migration Assistant (SSMA) 2008 is a toolkit that dramatically cuts the effort, cost, and risk of migrating from MySQL to SQL Server 2008 and SQL Azure.</p>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0e6168b0-2d0c-4076-96c2-60bd25294a8e" target="_blank">Download Microsoft SQL Server Migration Assistant 2008 for MySQL v1.0 CTP1</a></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in SQL, SQL Authority, SQL Documentation, SQL Download, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, T SQL, Technology Tagged: MySQL, SQL Azure <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7720&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2010/01/09/sqlauthority-news-microsoft-sql-server-migration-assistant-2008-for-mysql-v1-0-ctp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Change Collation of Database Column &#8211; T-SQL Script &#8211; Consolidating Collations &#8211; Extention Script</title>
		<link>http://blog.sqlauthority.com/2009/10/19/sql-server-change-collation-of-database-column-t-sql-script-consolidating-collations-extention-script/</link>
		<comments>http://blog.sqlauthority.com/2009/10/19/sql-server-change-collation-of-database-column-t-sql-script-consolidating-collations-extention-script/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 01:30:55 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Collation]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=7139</guid>
		<description><![CDATA[This document is created by Brian Cidern, he has written this excellent extension to  SQL Expert who SQL SERVER – Change Collation of Database Column – T-SQL Script. His scripts are not only extremely helpful to achieve the task of consolidating collations in quick script. His script not only works perfectly but excellent piece [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7139&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">This document is created by <span style="color:#000080;"><strong>Brian Cidern</strong></span>, he has written this excellent extension to  SQL Expert who SQL SERVER – Change Collation of Database Column – T-SQL Script. His scripts are not only extremely helpful to achieve the task of <em><strong>consolidating collations</strong></em> in quick script. His script not only works perfectly but excellent piece of code and logic.</p>
<p style="text-align:justify;">Hats off to you <strong>Brian</strong>! You can reach Brian at his email address (brians.sql.blog (at) gmail (dot) com) or leave comment here.</p>
<h3 style="text-align:justify;"><strong><a href="http://www.pinaldave.com/best-sql-server-download.cfm?Download=SQL_Collation_Consolidation_Scripts" target="_blank">Download all scripts and explanation here</a></strong></h3>
<p style="text-align:justify;"><strong>About Collation Consolidation</strong></p>
<p style="text-align:justify;">At some time in your DBA career, you may find yourself in a position when you sit back and realize that your database collations have somehow run amuck, or are faced with the ever annoying CANNOT RESOLVE COLLATION message when trying to join data of varying collation settings.  I’m sure there are as many reasons as to how you’ve come to this juncture as there are readers.  Maybe you have DBA’s and instances around the world and the local staff are using their own collations.  Or, maybe you’ve learned the hard way that ALTER DATABASE x SET COLLATION y doesn’t traverse.  Whatever it is, you’re probably here for the one underlying reason.  Manually consolidating collations would be a nightmare.  So, without loading to much fluff, let’s jump right in.</p>
<p style="text-align:justify;">Here is the basic approach:</p>
<ol style="text-align:justify;">
<li>Identify all the      columns which have incorrect collation values.</li>
<li>Identify all      objects bound to above columns, including indexes, keys, checks and UDF’s,</li>
<li>Script out all      of the above object DDL.</li>
<li>Drop all of the      objects.</li>
<li>Update all the      columns with the correct collation</li>
<li>Recreate all of      the dropped objects using the DDL generated in step 3</li>
</ol>
<p style="text-align:justify;">This is done with a collection of non-destructive scripts which generate the DDL to perform all of the above.  This generated DDL MUST be saved to scripts for later use on the target databases.  And obviously, you’ll need one set of scripts per database.  If that requires clarification, just stop reading now.</p>
<p style="text-align:justify;">In this article, I give to you the four scripts to do all this and will try to provide as much understanding as possible.  The first script is purely to create a stored procedure which will be repeatedly called.  This proc will need to exist in a database named “DBADB”.  If you want to use a different database, you’ll need to do a search and replace in the first script and the last script since the database name is hard-coded.  I tried to make these somewhat generic, but the only approach that came to mind would be to use OLE to invoke the VBScript engine to prompt you for the name of the database where this stored procedure is located.  Overkill in my opinion.  Ctrl-H is your friend here.</p>
<p style="text-align:justify;">The script to perform step 3 above uses DMO via OLE, so if you’ve disabled the extended stored procedures; sp_OACreate, sp_OASetProperty, sp_OAMethod, etc, you won’t be able to continue until they’ve been enabled.</p>
<p style="text-align:justify;">One final note.  If you’re not a member of the System Administrators role, please don’t try to execute these.  You’ll probably find your account revoked quickly.</p>
<p style="text-align:justify;">Ok, time to roll up your sleeves.</p>
<p style="text-align:justify;"><strong>Script 1 – The DDL Generator</strong></p>
<p style="text-align:justify;">This first script is to create a stored procedure.  This procedure must reside in a location that will not interfere with other databases, whether they’re development, test or production.  The SP uses DMO via OLE to capture a buffer dump of the object code.  The result is the same as if you right-clicked an object and selected “Script to new window as…”</p>
<p style="text-align:justify;">The DMO hierarchy of a SQL instance is weird.  Object reference isn’t particularly intuitive.  But, for the most part, objects are contained within the associated table collection.  In DBA language, that would look like</p>
<p style="text-align:justify;">Table 1:M Checks</p>
<p style="text-align:justify;">Table 1:M Keys</p>
<p style="text-align:justify;">Table 1:M Indexes</p>
<p style="text-align:justify;">Database 1:M UserDefinedFunctions</p>
<p style="text-align:justify;">Therefore, to locate a particular object in the DMO hierarchy, you would need to pass in all the required parameters, including the object type.  So, for checks, keys and indexes, you must also pass in the database name and the parent table name.  For functions, only the database name.</p>
<p style="text-align:justify;">sp_scriptObject(</p>
<p style="text-align:justify;">@in_dbName SysName,</p>
<p style="text-align:justify;">@in_objType VarChar(100),</p>
<p style="text-align:justify;">@in_objName VarChar(100),</p>
<p style="text-align:justify;">@in_objSubName VarChar(100) = NULL</p>
<p style="text-align:justify;">)</p>
<p style="text-align:justify;">Now, the good news.  The subsequent scripts will do all of the above automatically, and this script will be called repeatedly.</p>
<p style="text-align:justify;"><strong>Implementing this script.</strong></p>
<p style="text-align:justify;">As I mentioned, this script will be called repeatedly.  The script from whence it’s called will need to be modified to make reference to the correct database name.  These scripts have been designed to work with a DBA-use only database called “DBADB”.  Therefore, if you choose to keep this procedure located in a database of a different name, you’ll need to perform a search and replace for all the “DBADB” reference.  Otherwise, you will need to create a database named “DBADB”.</p>
<p style="text-align:justify;">Execute the first script.  This will create the necessary stored procedure.</p>
<p style="text-align:justify;"><strong>Script 2 – Drop Dependencies</strong></p>
<p style="text-align:justify;">The name for this script is somewhat deceiving.  It is a non-destructive script and only performs a set of SELECT statements.  Rather, this script generates a collection of DROP [object] statements.</p>
<p style="text-align:justify;">The goal here is to identify all the objects that are bound to columns which have incorrect collation settings.  There is no clean way to pull them all back in a single statement since determining this is handled differently for the various types of objects.  So, they’re all concatenated together with UNION’s.  The orders in which these are executed are as follows:</p>
<ol style="text-align:justify;">
<li>Table Functions</li>
<li>Unique      Constraints</li>
<li>Check      Constraints</li>
<li>Indexes</li>
</ol>
<p style="text-align:justify;"><em>You must also edit this script to use your desired collation.  Perform a search and replace of SQL_Latin1_General_CI_AS to your chosen collation.</em></p>
<p style="text-align:justify;">It’s performed in this order in attempt to avoid dependency issues.</p>
<p style="text-align:justify;">The result is a collection of DROP statements.  This must then be copy and pasted into a script and saved for later use.  Best to use a naming convention that reflects the name of the database, and that this will be the first script to execute when you’re ready to begin the patching, for example: myDatabase_post-script_1.sql, myDatabase_post-script_2.sql, etc.</p>
<p style="text-align:justify;">You should take note, it is possible that some databases may not have any objects that are bound to columns that need to be updated, so it’s perfectly fine if this script produces no results.</p>
<p style="text-align:justify;"><strong>Script 3 – Change Collations</strong></p>
<p style="text-align:justify;">Much like script 2, this script is also non-destructive and will produce a collection of DDL statements to update the column collations.</p>
<p style="text-align:justify;"><em>You must also edit this script to use your desired collation.  Perform a search and replace of SQL_Latin1_General_CI_AS to your chosen collation.</em></p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;"> </span></strong></p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">VERY IMPORTANT</span></strong>.  These scripts were originally intended to allow us to consolidate all our collations in a SQL 2000 to SQL 2008 migration.  Therefore, this script WILL produce two lines of code that you may or may not want.</p>
<p style="text-align:justify;">ALTER DATABASE &#8216; + DB_NAME() + &#8216; SET COMPATIBILITY_LEVEL=100</p>
<p style="text-align:justify;">and</p>
<p style="text-align:justify;">ALTER DATABASE &#8216; + DB_NAME() + &#8216; COLLATE &#8216; + @collation</p>
<p style="text-align:justify;">where @collation is a variable defined at the beginning of the script.</p>
<p style="text-align:justify;">You can alter the original script I’ve provided, or you can simply remove them from the output before saving.</p>
<p style="text-align:justify;">The remaining results will be a collection of statements to alter the column collations:</p>
<p style="text-align:justify;">ALTER TABLE [tbl] ALTER COLUMN [clm] column_spec() COLLATE [new_collation]</p>
<p style="text-align:justify;">Once this has been executed, copy and paste the output into another script file for later use (myDatabase_post-script_2.sql)</p>
<p style="text-align:justify;"><strong>Script 4 – Create Dependent Objects</strong></p>
<p style="text-align:justify;">This is where most of the work takes place.</p>
<p style="text-align:justify;"><em>You must also edit this script to use your desired collation.  Perform a search and replace of SQL_Latin1_General_CI_AS to your chosen collation.</em></p>
<p style="text-align:justify;">Open the script, connect to the desired database and hit the [fire] button.  Again, like those previous, this script is non-destructive, and produces a series of DDL statements.</p>
<p style="text-align:justify;">The first you’ll notice in the output is the “USE DBADB” statement.  It is very important to note here that if the stored procedure (sp_scriptObject) from the very first script is stored in another database, that this is reflected in the output.</p>
<p style="text-align:justify;">The remainder of the output looks like:</p>
<p style="text-align:justify;">EXEC DBADB.dbo.sp_scriptObject…</p>
<p style="text-align:justify;">With all of the required parameters, based on the type and location of the object.  The other thing you may notice here is that the order in which these statements are in, is the exact reverse of the order from the 2<sup>nd</sup> script; again, with the intent to avoid dependency crashes.</p>
<p style="text-align:justify;">This output now needs to be copy and pasted to a new query window – not to a file.  The output of the new window should be set to text (Query &gt; Results in Text) or (Ctrl-T).  Execute the statements.  Be aware, that this could take a significant amount of time based on the number of objects and how complex they are.</p>
<p style="text-align:justify;">But, in essence, you will be trapping a buffer dump for each object that needs to be dropped.</p>
<p style="text-align:justify;"><strong><span style="text-decoration:underline;">VERY IMPORTANT.</span></strong></p>
<p style="text-align:justify;">There may be a case where an object’s DDL is simply too large.  There are limitations in which the VBScript engine stores string data.  I can’t recall exactly what the issue was, nor do I care to look it up again. But basically, the buffer is limited to 8k.  If your object DDL is greater than 8k, an error will be thrown and the object DDL will NOT be trapped.</p>
<p style="text-align:justify;">After this script has finished, you must first scan the output for errors.  If any are found, identify the object which was not scripted and manually script those and paste them into the output.</p>
<p style="text-align:justify;">This output must then be saved to a final script for execution against the target database.</p>
<p style="text-align:justify;"><strong>Final Step</strong></p>
<p style="text-align:justify;">In the end, the above work will have produced 3 scripts that now need to be run against the target database.  Now is a good time to clarify that these generated scripts are very destructive.  So, please take your time, test, test and test.  If you choose to do this on a production box, your career could be at stake.  There is never one-size-fits-all solution, so for each scenario, these scripts may required modifications.  These were produced to fix my needs, but I did try to keep them as generic as possible for re-use.</p>
<p style="text-align:justify;">On your target database, execute each of the generated scripts, obviously in the order specified.</p>
<p style="text-align:justify;">The net result will leave your database with each column, along with the database set at your desired collation setting.</p>
<p style="text-align:justify;"><strong>The Quick and Dirty Approach</strong></p>
<p style="text-align:justify;">This section is for those who don’t really care to know the details and simply provides an exact step-by-step.</p>
<ol style="text-align:justify;">
<li>Backup the      target database.</li>
<li>Copy the 4      scripts to an empty folder.</li>
<li>Open      Pre-Script_1_DROP_DEPENDENCIES.sql in a text editor and perform a search      and replace of “Latin1_General_CI_AS” and change this to the desired      collation.</li>
<li>Open Pre-Script_2_CHANGE_COLLATIONS.sql      in a text editor and perform a search and replace of “Latin1_General_CI_AS”      and change this to the desired collation.</li>
<li>Open Pre-Script_3_CREATE_DEPENDENCIES.sql      in a text editor and perform a search and replace of “Latin1_General_CI_AS”      and change this to the desired collation.</li>
<li>Create a      database named “DBADB”</li>
<li>Execute Pre-Script_0_DBADB.sp_scriptObject.sql</li>
<li>Change the      working database to the one which requires collation changes.</li>
<li>Execute Pre-Script_1_DROP_DEPENDENCIES.sql</li>
<li>Save the output      to a text file named “dbName_post-script_1.sql”</li>
<li>Execute Pre-Script_2_CHANGE_COLLATIONS.sql</li>
<li>Save the output      to a text file named “dbName_post-script_2.sql”</li>
<li>Execute Pre-Script_3_CREATE_DEPENDENCIES.sql</li>
<li>Copy the output      to a new query window and execute.</li>
<li>Scan the      secondary output for errors.       Identify any failed objects and manually script out the DDL.  Paste it into the location where the      error occurred.</li>
<li>Now, save this      output to a text file named “dbName_post-script_3.sql”</li>
<li>Copy      dbName_post-script_1.sql, dbName_post-script_2.sql, and dbName_post-script_3.sql      to the target machine.</li>
<li>Connect to the      desired target database and execute each of the above post-scripts in      numeric order.</li>
</ol>
<p style="text-align:justify;">Good luck.  Please heed any warnings I may have mentioned.  If you have any questions, certainly send me an email and I will try to answer promptly.  But, also please be patient, I do have a full time job that takes priority.</p>
<p style="text-align:justify;"><strong>Brian Cidern<br />
brians.sql.blog (at) gmail (dot) com</strong></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Readers Contribution, Readers Question, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: SQL Collation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/7139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/7139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/7139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/7139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/7139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/7139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/7139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/7139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/7139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/7139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=7139&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/10/19/sql-server-change-collation-of-database-column-t-sql-script-consolidating-collations-extention-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Download IIS Database Manager</title>
		<link>http://blog.sqlauthority.com/2009/09/28/sqlauthority-news-download-iis-database-manager/</link>
		<comments>http://blog.sqlauthority.com/2009/09/28/sqlauthority-news-download-iis-database-manager/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 01:30:59 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6934</guid>
		<description><![CDATA[IIS Database Manager allows you to easily manage your local and remote databases from within IIS Manager. IIS Database Manager automatically discovers databases based on the Web server or application configuration and also provides the ability to connect to any database on the network. Once connected, IIS Database Manager provides a full array of management [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6934&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">IIS Database Manager allows you to easily manage your local and remote databases from within IIS Manager. IIS Database Manager automatically discovers databases based on the Web server or application configuration and also provides the ability to connect to any database on the network. Once connected, IIS Database Manager provides a full array of management options including managing tables, views, stored procedures and data, as well as running ad hoc queries.</p>
<p style="text-align:justify;">IIS Database Manager provides native support for SQL Server and is also fully extensible for developers to add support for other database systems. In addition, because IIS Database Manager is an extension of IIS Manager, administrators can securely delegate the management of databases to authorized local or remote users, without having to open additional management ports on the server.</p>
<p style="text-align:justify;">Here are a few articles to get you started on using the IIS Database Manager:</p>
<ul style="text-align:justify;">
<li><a href="http://go.microsoft.com/fwlink/?LinkId=145667" target="_blank">Basics of   the IIS Database Manager</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=145669" target="_blank">Working   with Tables</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=145670" target="_blank">Working   with Views</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=145672" target="_blank">Working   with Stored Procedures</a></li>
</ul>
<p style="text-align:justify;"><strong><a id="ctl00_ctl16_ResultsListView_ctrl1_DownloadAnchor" title="IIS Database Manager (x86)" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=231989b4-2a52-4c31-b2d6-96e8e97f8295" target="_blank">IIS Database Manager (x86)</a></strong></p>
<p style="text-align:justify;"><strong><a id="ctl00_ctl16_ResultsListView_ctrl0_DownloadAnchor" title="IIS Database Manager (x64)" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=2f238709-5618-4693-b7ba-d8c4035ac050" target="_blank">IIS Database Manager (x64)</a></strong></p>
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<br />Posted in SQL, SQL Add-On, SQL Authority, SQL Documentation, SQL Download, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6934/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6934/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6934/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6934/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6934/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6934/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6934/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6934/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6934/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6934/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6934&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/09/28/sqlauthority-news-download-iis-database-manager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Plan Caching and Schema Change &#8211; An Interesting Observation</title>
		<link>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/</link>
		<comments>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 01:30:10 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Stored Procedure]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Cache]]></category>
		<category><![CDATA[SQL Profiler]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6756</guid>
		<description><![CDATA[Last week, I had published details regarding SQL SERVER – Plan Caching in SQL Server 2008 by Greg Low on this blog. Similar to any other white paper, I have read this paper very carefully and enjoyed reading it. One particular topic in the white paper that caught my attention is definition of schema change. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6756&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Last week, I had published details regarding <a href="http://blog.sqlauthority.com/2009/08/29/sql-server-plan-caching-in-sql-server-2008-by-greg-low/" target="_blank">SQL SERVER – Plan Caching in SQL Server 2008 by Greg Low</a> on this blog. Similar to any other white paper, I have read this paper very carefully and enjoyed reading it. One particular topic in the white paper that caught my attention is definition of schema change. I was well aware of this definition, but I have often found that users are not familiar with what exactly does a schema change mean.</p>
<p style="text-align:justify;">Many people assume that a change in the table structure is schema change. In fact, creating or dropping index on any table also qualifies as schema change.</p>
<p style="text-align:justify;">As per the white paper, “Schema change” is defined as follows:</p>
<ul style="text-align:justify;">
<li>Adding      or dropping columns to a table or view.</li>
<li>Adding      or dropping constraints, defaults, or rules to/from a table.</li>
<li><em>Adding an index to a table or an indexed view.</em></li>
<li><em>Dropping an index defined on a table or an indexed view (only      if the index is used by the query plan in question).</em></li>
<li>Dropping      a statistic (not creating or updating!) defined on a table will cause a      correctness-related recompilation of any query plans that use that table.      Such recompilations occur at that instant when the query plan in question      begins execution. Updating a statistic (both manual and auto-update) will      cause an optimality-related (data related) recompilation of any query      plans that uses this statistic.</li>
</ul>
<p style="text-align:justify;">As per the above definition, I decided to experiment with schema change. In white paper, it was mentioned that schema change will recompile the execution batch. I decided to test this out. I created a small script (given below) and decided to test it.</p>
<p style="text-align:justify;">As per the script, I created a large table and stored the procedure that was accessing that table. I created another object that was an index to the table; when SP was ran with index on table, it showed a plan different from that without the index on table. It was evident that the batch was recompiled when the index on the table was modified.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/sql-download/scripts/planchange.zip" target="_blank">The script is available here to download.</a></p>
<p style="text-align:justify;"><strong>Without Index execution plan:</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exindex.jpg" alt="" width="500" height="140" /></p>
<p style="text-align:justify;"><strong>With Index execution plan:</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exnoindex.jpg" alt="" width="502" height="149" /></p>
<p style="text-align:justify;">
<p>It is clear from the execution plan that it is different, and this proves the point that schema change recompiles the execution plan.</p>
<p>There is one more script provided in the white paper, which gets data from DMV related to cached plan. When I ran the following SP, it did not give me very interesting results.</p>
<p><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:black;">cp.objtype </span><span style="color:blue;">AS </span><span style="color:black;">PlanType</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">OBJECT_NAME</span><span style="color:gray;">(</span><span style="color:black;">st.objectid</span><span style="color:gray;">,</span><span style="color:black;">st.dbid</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ObjectName</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.refcounts </span><span style="color:blue;">AS </span><span style="color:black;">ReferenceCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.usecounts </span><span style="color:blue;">AS </span><span style="color:black;">UseCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">st.</span><span style="color:blue;">TEXT AS </span><span style="color:black;">SQLBatch</span><span style="color:gray;">,<br />
</span><span style="color:black;">qp.query_plan </span><span style="color:blue;">AS </span><span style="color:black;">QueryPlan<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_exec_cached_plans </span><span style="color:blue;">AS </span><span style="color:black;">cp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_query_plan</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">qp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">st</span><span style="color:gray;">;</span></code></p>
<p><span style="color:gray;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exusecount.jpg" alt="" width="499" height="168" /><br />
</span></p>
<p>When I ran the above script, I found that the UseCount column did not reset when QueryPlan is changed. This was very surprising as I was expecting UseCount to reset on changing the query plan. I sent an email to <a href="http://www.solidq.com.au/" target="_blank">Dr. Greg Low</a>, who is author of this white paper. He was very kind to respond back within minutes with a proper answer, which is as follows:</p>
<p><strong><em>You’ll notice in Profiler when you run the sproc after creating the index that it does in fact cause a recompile. However, in SQL Server 2008 (and 2005), these are statement level recompiles not proc level recompiles. I imagine that’s why they’re not reflected in the UseCount values ie: the plan itself isn’t recompiled and that’s what the counts are based on.</em></strong></p>
<p><img class="alignnone" src="http://www.pinaldave.com/bimg/exprofiler.jpg" alt="" width="560" height="120" /></p>
<p style="text-align:justify;">Well, this simple explanation clarified my doubts. Let me know what you think, and I strongly suggest you all to read the <a href="http://blog.sqlauthority.com/2009/08/29/sql-server-plan-caching-in-sql-server-2008-by-greg-low/" target="_blank">white paper</a> written by Dr. Greg Low.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<br />Posted in Pinal Dave, Readers Question, SQL, SQL Authority, SQL Documentation, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure, SQL Tips and Tricks, SQL Utility, SQL White Papers, T SQL, Technology Tagged: SQL Cache, SQL Profiler <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6756/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6756&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/exindex.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exnoindex.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exusecount.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exprofiler.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Difference between SQL Server Express and MySQL</title>
		<link>http://blog.sqlauthority.com/2009/09/09/sql-server-difference-between-sql-server-express-and-mysql/</link>
		<comments>http://blog.sqlauthority.com/2009/09/09/sql-server-difference-between-sql-server-express-and-mysql/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 01:30:09 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6748</guid>
		<description><![CDATA[Both SQL Server express and MySQL are two of the Relational Database Systems (RDBMS) available today. Both are freely available and meant for running smaller or embedded databases, yet there are also significant differences between them.
SQL Server Express is a freely-available small-brother version of Microsoft’s enterprise system, SQL Server. It is the successor to MSDE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6748&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Both SQL Server express and MySQL are two of the Relational Database Systems (RDBMS) available today. Both are freely available and meant for running smaller or embedded databases, yet there are also significant differences between them.</p>
<p style="text-align:justify;">SQL Server Express is a freely-available small-brother version of Microsoft’s enterprise system, SQL Server. It is the successor to MSDE (Microsoft Desktop Engine), but it is also a huge improvement over it, especially regarding the user interface design and the included feature-set. Its main features are:</p>
<ul style="text-align:justify;">
<li style="text-align:justify;">Database size limit of 4GB. This excludes logfiles and can be overridden by using multiple databases.</li>
<li>Support for only one CPU (but multiple cores).</li>
<li>No SQL Server Agent.</li>
</ul>
<p style="text-align:justify;">SQL Server Express offers a number of advantages. The first and arguably most important is the complete scalability and integration with SQL Server. This allows you to seamlessly upgrade your database as your needs also grow (remember SQL Server Express is limited to a database size of 4GB). In fact the database upgrade is so smooth that even with no prior experience it can be done in about 10 minutes for a 3GB database.</p>
<p style="text-align:justify;">The SQL Server Express interface is much improved over its MSDE predecessor, and offers such GUI tools like the SQL Server Management Studio Express, the SQL Configuration Manager, the SQL Business Intelligence Development Studio and SQL Server Reporting Services. All these work together to make the little RDBMS almost as rich in features as its SQL Server enterprise sibling.</p>
<p style="text-align:justify;">SQL Server Express also has a strong family heritage. Being a Microsoft product, one can expect such features as excellent integration with Windows (for example domain authentication), support for dotNET, ODBC and XML, and comprehensive help and support from both the mother company and a large community of users on the web.</p>
<p style="text-align:justify;">On the other hand, SQL Server Express’s most severe limitation is that it only runs on Windows. Given the large number of organizations and individuals running other operating systems especially Unix and Linux, it is locked out of an important market segment. Others are of course its aforementioned 4GB size and single-CPU handicaps. These, however, are not usually a problem for small databases.</p>
<p style="text-align:justify;">MySQL, on the other hand, is a completely open-source RDBMS, as contrasted to SQL Server Express which is a free ‘lite’ version of a commercial database engine. Its largest arena is as the backend database for about 12 million websites around the world. Many of the world’s high-traffic websites like Yahoo Finance and Slashdot use MySQL as a backend database, a testament to its reliability. MySQL is open-source and its source code is freely available under the GPL (General Public License); so it can be argued that it is in fact a competitor to not only SQL Server Express, but the full-bodied SQL Server as well.</p>
<p style="text-align:justify;">One unusual offering from MySQL is its ability to incorporate different database storage engines depending on the user’s primary need. If the DBA determines that the database will mainly be used for either quick data access, or transaction input speed, or accessing heavily partitioned tables, then he or she can choose the appropriate storage engine to suit this need. Of course, this also adds a new complexity- you must know the right engine to use and how to install and configure it. Examples of these engines are InnoDB, Memory, and NDB Cluster.</p>
<p style="text-align:justify;">Unlike SQL Server Express, MySQL will happily run on almost all operating systems, although unofficial comparison tests run by several independent companies and individuals point to anecdotal evidence that MySQL performance is excellent on Unix and Linux, but not as good as either SQL Server Express on Windows platforms, much less the full SQL Server. This is partly attributable to SQL Server’s optimization within Windows, but also partly to MySQL’s reputedly weak Query Optimizer. In fact it is only recently that MySQL has incorporated advanced RDBMS features such as foreign key support and multiple-stage data commit.</p>
<p style="text-align:justify;">Another important area in which MySQL comes up short is system stability- sudden power loss on a server hosting MySQL can very well cause severe data corruption. SQL Server and Express are more robust and tolerant to such outages because the data save process goes through multiple checkpoints.</p>
<p style="text-align:justify;">I hope this has provided you with a good overview of the differences between SQL Server Express and MySQL. Even though both are free RDBMS systems and worthy competitors, they have areas of market overlap but also distinct market segments. Experience has taught many database administrators that each system has it strengths and weaknesses, and one would be advised to research thoroughly before settling on one or the other.</p>
<p>You can read the complete reference over here <strong><a href="http://blog.sqlauthority.com/2009/08/26/sql-server-sql-server-express-a-complete-reference-guide/" target="_blank">SQL SERVER – SQL Server Express – A Complete Reference Guide</a></strong>.</p>
<p style="text-align:justify;">Please contribute here with your comments and opinion.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: MySQL <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6748/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6748/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6748/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6748&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/09/09/sql-server-difference-between-sql-server-express-and-mysql/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Introduction to Change Data Capture (CDC) in SQL Server 2008</title>
		<link>http://blog.sqlauthority.com/2009/08/15/sql-server-introduction-to-change-data-capture-cdc-in-sql-server-2008/</link>
		<comments>http://blog.sqlauthority.com/2009/08/15/sql-server-introduction-to-change-data-capture-cdc-in-sql-server-2008/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 01:30:46 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Data Storage]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6599</guid>
		<description><![CDATA[Simple-Talk.com has published my very first article on their site. This article is introducing Change Data Capture &#8211; the new concept introduced in SQL Server 2008. Change Data Capture records INSERTs, UPDATEs, and DELETEs applied to SQL Server tables, and makes a record available of what changed, where, and when, in simple relational &#8216;change tables&#8217; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6599&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><strong>Simple-Talk.com</strong> has published my very first article on their site. This article is introducing Change Data Capture &#8211; the new concept introduced in SQL Server 2008. Change Data Capture records INSERTs, UPDATEs, and DELETEs applied to SQL Server tables, and makes a record available of what changed, where, and when, in simple relational &#8216;change tables&#8217; rather than in an esoteric chopped salad of XML. These change tables contain columns that reflect the column structure of the source table you have chosen to track, along with the metadata needed to understand the changes that have been made.</p>
<p style="text-align:justify;"><a href="http://www.simple-talk.com/sql/learn-sql-server/introduction-to-change-data-capture-%28cdc%29-in-sql-server-2008/" target="_blank">Introduction to Change Data Capture (CDC) in SQL Server 2008</a></p>
<p style="text-align:justify;">Please read my article and leave your valuable comments here. If you like the article do not forget to rate it.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
<p style="text-align:justify;">
<br />Posted in Database, Pinal Dave, SQL, SQL Authority, SQL Data Storage, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6599/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6599/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6599/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6599&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/08/15/sql-server-introduction-to-change-data-capture-cdc-in-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Download Microsoft SQL Server Management Pack for Operations Manager 2007</title>
		<link>http://blog.sqlauthority.com/2009/08/01/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-4/</link>
		<comments>http://blog.sqlauthority.com/2009/08/01/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-4/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6337</guid>
		<description><![CDATA[The SQL Server Management Pack provides the capabilities for Operations Manager 2007 to discover SQL Server 2000, 2005 and 2008 installations and components and to monitor them, primarily from the perspective of availability and performance. The availability and performance monitoring is done using a combination of scripts and native Operations Manager capabilities.
The following list gives [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6337&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">The SQL Server Management Pack provides the capabilities for Operations Manager 2007 to discover SQL Server 2000, 2005 and 2008 installations and components and to monitor them, primarily from the perspective of availability and performance. The availability and performance monitoring is done using a combination of scripts and native Operations Manager capabilities.</p>
<p style="text-align:justify;"><span>The following list gives an overview of the features of the SQL Server management pack.</span></p>
<ul style="text-align:justify;">
<li>Support for Enterprise, Standard and Express editions of SQL Server 2000, 2005 and 2008 and 32bit, 64bit and ia64 architectures.</li>
<li>Support for both simple and complex SQL configurations such as clustered installations, multiple instances and 32bit roles running on a 64bit OS. For full details on supported configurations refer to the guide included with the management pack.</li>
<li>Discovery and monitoring of SQL Server roles such as DB Engine, Reporting Services, Analysis Services, Integrations Services.</li>
<li>Discovery of SQL components such as databases, the SQL Agent and SQL jobs.</li>
<li>Over 20 views covering areas such as database free space, SQL related performance, SQL related alerts, and lists of the various SQL roles and components which are discovered and their related state.</li>
<li>Reports for longer-term analysis of common problem areas related to SQL Server such as SQL Server lock analysis and top deadlocked databases, SQL Server service pack levels across discovered roles, user connection activity. Likewise the generic reports from the Microsoft Generic Report Library can be used against the roles and components discovered by the SQL MPs to review availability and performance across many systems and over longer periods of time.</li>
<li>Role and component specific tasks which provide access to common tools, triage information, or corrective actions without needing to leave the Operations Console in most cases.</li>
<li>Monitoring of databases covers database status, database free space, log shipping monitoring for both the source and destination, and transaction log free space.</li>
<li>Monitoring of key SQL related services.</li>
<li>Monitoring for persistent SPID blocking.</li>
<li>Monitoring of numerous SQL events and performance data points. Alerts bring the issue to your attention and provide knowledge on the impact and possible resolutions.</li>
</ul>
<p style="text-align:justify;"><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363" target="_blank">Download Microsoft SQL Server Management Pack for Operations Manager 2007</a></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<p style="text-align:justify;">
<br />Posted in SQL, SQL Add-On, SQL Authority, SQL Download, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6337/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6337/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6337/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6337&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/08/01/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-4/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Copy Database With Data &#8211; Generate T-SQL For Inserting Data From One Table to Another Table</title>
		<link>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/</link>
		<comments>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 01:30:03 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[DBA]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6043</guid>
		<description><![CDATA[Just about a year ago, I had written on the subject of how to insert data from one table to another table without generating any script or using wizard in my article SQL SERVER – Insert Data From One Table to Another Table – INSERT INTO SELECT – SELECT INTO TABLE. Today, we will go [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6043&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Just about a year ago, I had written on the subject of how to insert data from one table to another table without generating any script or using wizard in my article <a href="http://blog.sqlauthority.com/2007/08/15/sql-server-insert-data-from-one-table-to-another-table-insert-into-select-select-into-table/" target="_blank">SQL SERVER – Insert Data From One Table to Another Table – INSERT INTO SELECT – SELECT INTO TABLE</a>. Today, we will go over a similar question regarding how to generate script for data from database as well as table. SQL Server 2008 has simplified everything.</p>
<p style="text-align:justify;">Let us take a look at an example where we will generate script database. In our example, we will just take one table for convenience.</p>
<p style="text-align:justify;">Right Click on Database &gt;&gt; Tasks &gt;&gt; Generate Scripts &gt;&gt;</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data1.jpg" alt="" width="500" height="428" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data2.jpg" alt="" width="501" height="451" /></p>
<p style="text-align:justify;">This will pop up Generate SQL Server Scripts Wizards &gt;&gt; Click on Next &gt;&gt; Select Database &gt;&gt; This will bring up a screen that will suggest to Choose Script Option.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data3.jpg" alt="" width="501" height="451" /></p>
<p style="text-align:justify;">On Choose Script Option Screen of Script Wizard under section Table/View Options Look at Script Data row and Turn the Option to True.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data4.jpg" alt="" width="503" height="795" /></p>
<p style="text-align:justify;">The Next Screen will ask about object types. Select all the objects that are required in the generated script. Depending on the previous screen it will show few more screen requesting details about the objects required in script generation.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data5.jpg" alt="" width="501" height="514" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data6.jpg" alt="" width="501" height="514" /></p>
<p style="text-align:justify;">On the very last screen it will request output options. Select the desired output options of Script to file, Script to Clipboard or Script New Query Window.3</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data7.jpg" alt="" width="501" height="514" /></p>
<p style="text-align:justify;">Clicking on Finish button will generate a review screen containing the required objects along with script generating data.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data8.jpg" alt="" width="501" height="549" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data9.jpg" alt="" width="501" height="549" /></p>
<p style="text-align:justify;">Clicking on Finish button one more time will generate the requested output.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/data10.jpg" alt="" width="500" height="423" /></p>
<p style="text-align:justify;">Similarly, if you want to generate data for only one table, you can right click on the table and follow almost a similar wizard. I am sure this neat feature will help everybody who has been requesting for it for a long time.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Best Practices, Database, DBA, Pinal Dave, Readers Question, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6043/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6043&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/07/29/sql-server-2008-copy-database-with-data-generate-t-sql-for-inserting-data-from-one-table-to-another-table/feed/</wfw:commentRss>
		<slash:comments>39</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/data1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data7.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data9.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/data10.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; SQL Server Value Calculator</title>
		<link>http://blog.sqlauthority.com/2009/07/22/sqlauthority-news-sql-server-value-calculator/</link>
		<comments>http://blog.sqlauthority.com/2009/07/22/sqlauthority-news-sql-server-value-calculator/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6133</guid>
		<description><![CDATA[I have been using twitter for quite some time now (follow me at @pinaldave). In twitter world very often I find something interesting shared by my friends there. SQL Server Expert and Microsoft Evanglist Vinod Kumar has twitted very interesting detail linking to SQL Server Value Calculator. The web version of this tool is created [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6133&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I have been using twitter for quite some time now (follow me at <strong><a href="http://twitter.com/pinaldave" target="_blank">@pinaldave</a></strong>). In twitter world very often I find something interesting shared by my friends there. SQL Server Expert and Microsoft Evanglist <a href="http://www.extremeexperts.com/General/Home/Homepage.aspx" target="_blank">Vinod Kumar</a> has twitted very interesting detail linking to <a href="http://www.microsoft.com/sqlserver/2008/en/us/value-calc.aspx" target="_blank">SQL Server Value Calculator</a>. The web version of this tool is created in Silver Light and looks very cool and gives impression of PC Game Sims at first moment.</p>
<p style="text-align:justify;">This tool calculates Total Estimate Saving if SQL Server is used in any organization. It takes into consideration Total IT team members, Bandwidth, Servers, Security, Reports, Audits, Supports Calls and Encryption in its calculation. This tool provides a discussion framework and is designed to stimulate conversation regarding the potential costs and benefits of deploying SQL Server 2008. As a result, all inputs can be changed to estimate benefit and cost data. Default values are pre-populated to facilitate discussion and are meant to be changed as outlined below.</p>
<p style="text-align:justify;">You can also download the full SQL Server Value Calculator which is in Excel from the same screen.  When I downloaded the Excel I was amazed at what a tremendous capacity of MS Excel has and how many people are really using it to its full potential. Microsoft has used two of its  own technologies &#8211; MS Excel and Silverlight to show how good SQL Server is.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlcalc.jpg" alt="" width="500" height="322" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<p style="text-align:justify;">
<br />Posted in Pinal Dave, Readers Contribution, SQL, SQL Authority, SQL Documentation, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6133&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/07/22/sqlauthority-news-sql-server-value-calculator/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlcalc.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Difference between Line Feed (\n) and Carriage Return (\r) &#8211; T-SQL New Line Char</title>
		<link>http://blog.sqlauthority.com/2009/07/01/sql-server-difference-between-line-feed-n-and-carriage-return-r-t-sql-new-line-char/</link>
		<comments>http://blog.sqlauthority.com/2009/07/01/sql-server-difference-between-line-feed-n-and-carriage-return-r-t-sql-new-line-char/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 01:30:11 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5775</guid>
		<description><![CDATA[Today, we will examine something very simple and very generic that can apply to hordes of programming languages. Let’s take a common question that is frequently discussed &#8211; What is difference between Line Feed (\n) and Carriage Return (\r)?
Prior to continuing with this article let us first look into few synonyms for LF and CR.
Line [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5775&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today, we will examine something very simple and very generic that can apply to hordes of programming languages. Let’s take a common question that is frequently discussed &#8211; <strong>What is difference between Line Feed (\n) and Carriage Return (\r)?</strong></p>
<p style="text-align:justify;">Prior to continuing with this article let us first look into few synonyms for LF and CR.</p>
<p style="text-align:justify;">Line Feed &#8211; LF &#8211; \n &#8211; 0&#215;0a &#8211; 10 (decimal)</p>
<p style="text-align:justify;">Carriage Return &#8211; CR &#8211; \r &#8211; 0&#215;0D &#8211; 13 (decimal)</p>
<p style="text-align:justify;">Now that we have understood that we have two different options to get new line, the question that arises is &#8211; why is it so?</p>
<p style="text-align:justify;">The reason is simple. Different operating systems have a different way of understanding new line. Mac only understands &#8216;\r&#8217; as new line, while Unix and Linux understand &#8216;\n&#8217; as new line character. Our favorite OS windows needs both the characters together to interpret as new line, which is &#8216;\r\n&#8217;. This is the reason why a file created in one OS does not open properly in another OS and makes it messy.</p>
<p style="text-align:justify;">Now, let us see how we can create a new line in SQL Server. It is a very simple script yet very useful when we have to do run print something or generate scripts. I have illustrated two examples below that are very easy to understand. In the first example, there are no new line chars inserted and for the same, everything is displayed in a single line. However, in the second example, new line char is inserted and the lines are separated with a new line.</p>
<p style="text-align:justify;"><strong>Example 1: No new line feed char</strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">DECLARE </span><span style="color:#434343;">@NewLineChar </span><span style="color:blue;">AS CHAR</span><span style="color:gray;">(</span><span style="color:black;">2</span><span style="color:gray;">) </span><span style="color:blue;">= CHAR</span><span style="color:gray;">(</span><span style="color:black;">13</span><span style="color:gray;">) + </span><span style="color:blue;">CHAR</span><span style="color:gray;">(</span><span style="color:black;">10</span><span style="color:gray;">)<br />
</span><span style="color:blue;">PRINT </span><span style="color:gray;">(</span><span style="color:red;">'SELECT FirstLine AS FL SELECT SecondLine AS SL' </span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p style="text-align:justify;"><span style="color:black;"><img class="alignnone" src="http://www.pinaldave.com/bimg/lf1.png" alt="" width="494" height="144" /><br />
</span>
</p>
<p style="text-align:justify;"><strong>Example 2: With new line feed char</strong></p>
<p style="text-align:left;"><code style="font-size:12px;"><span style="color:blue;">DECLARE </span><span style="color:#434343;">@NewLineChar </span><span style="color:blue;">AS CHAR</span><span style="color:gray;">(</span><span style="color:black;">2</span><span style="color:gray;">) </span><span style="color:blue;">= CHAR</span><span style="color:gray;">(</span><span style="color:black;">13</span><span style="color:gray;">) + </span><span style="color:blue;">CHAR</span><span style="color:gray;">(</span><span style="color:black;">10</span><span style="color:gray;">)<br />
</span><span style="color:blue;">PRINT </span><span style="color:gray;">(</span><span style="color:red;">'SELECT FirstLine AS FL ' </span><span style="color:gray;">+</span><span style="color:#434343;">@NewLineChar </span><span style="color:gray;">+ </span><span style="color:red;">'SELECT SecondLine AS SL' </span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span></code>
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/lf2.png" alt="" width="476" height="174" /></p>
<p style="text-align:justify;">I hope my examples make things more clear to you all. Let me have your feedback on this article.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5775/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5775/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5775/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5775&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/07/01/sql-server-difference-between-line-feed-n-and-carriage-return-r-t-sql-new-line-char/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/lf1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/lf2.png" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; Risk and Health Assessment Program for Microsoft SQL Server – Scoping Tool v1.1</title>
		<link>http://blog.sqlauthority.com/2009/06/21/sqlauthority-news-risk-and-health-assessment-program-for-microsoft-sql-server-%e2%80%93-scoping-tool-v1-1/</link>
		<comments>http://blog.sqlauthority.com/2009/06/21/sqlauthority-news-risk-and-health-assessment-program-for-microsoft-sql-server-%e2%80%93-scoping-tool-v1-1/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 01:30:19 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5652</guid>
		<description><![CDATA[Risk and Health Assessment Program for Microsoft SQL Server – Scoping Tool v1.1 is a practical download package intended exclusively for Microsoft Premier Customers. This package paraphernalia includes all the scoping tools required to prepare and qualify your environment to receive a Risk and Health Assessment Program for Microsoft SQL Server.
Getting started with it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5652&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Risk and Health Assessment Program for Microsoft SQL Server – Scoping Tool v1.1 is a practical download package intended exclusively for Microsoft Premier Customers. This package paraphernalia includes all the scoping tools required to prepare and qualify your environment to receive a Risk and Health Assessment Program for Microsoft SQL Server.</p>
<p style="text-align:justify;">Getting started with it is very easy. First, extract the Scoping Tool zip package to the tools server that will be used during the RAP engagement. Next, refer to Instructions.txt in the Scoping Tool folder for exhaustive instructions on executing the tool and gathering the results.</p>
<p style="text-align:justify;"><strong>Phases of the Risk and Health Assessment Program for Microsoft SQL Server</strong><br />
Phase 1: Data Gathering<br />
Phase 2: Data Analysis<br />
Phase 3: Reporting and Knowledge Transfer
</p>
<p style="text-align:justify;"><strong>Key Benefits of the Assessment Approach</strong></p>
<ul>
<li>Maintain Optimum Efficiency</li>
<li>Reduce Support Costs</li>
<li>Maximize the Value of Your IT Investment</li>
<li>Enhance Business Confidence</li>
</ul>
<p style="text-align:justify;">
<p style="text-align:justify;"><strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=7edc8686-89f6-4076-bff4-dba53c7639e7" target="_blank">Download Risk and Health Assessment Utility</a></strong></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
<br />Posted in SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5652/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5652&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/06/21/sqlauthority-news-risk-and-health-assessment-program-for-microsoft-sql-server-%e2%80%93-scoping-tool-v1-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Download &#8211; SQL Server 2008 Developer Training Kit</title>
		<link>http://blog.sqlauthority.com/2009/05/22/sqlauthority-news-download-sql-server-2008-developer-training-kit/</link>
		<comments>http://blog.sqlauthority.com/2009/05/22/sqlauthority-news-download-sql-server-2008-developer-training-kit/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:30:35 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5152</guid>
		<description><![CDATA[SQL Server 2008 offers an impressive array of capabilities for developers that build upon key innovations introduced in SQL Server 2005. The  SQL Server 2008 Developer Training Kit  will help you understand how to build web applications which deeply exploit the rich data types, programming models and new development paradigms in SQL Server 2008. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5152&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">SQL Server 2008 offers an impressive array of capabilities for developers that build upon key innovations introduced in SQL Server 2005. The  SQL Server 2008 Developer Training Kit  will help you understand how to build web applications which deeply exploit the rich data types, programming models and new development paradigms in SQL Server 2008. The training kit is brought to you by Microsoft Developer and Platform Evangelism.</p>
<p style="text-align:justify;"><span>The training kit includes the following content:</span></p>
<ul>
<li>Presentations (6)
<ul>
<li>Filestream</li>
<li>Spatial</li>
<li>T-SQL</li>
<li>Date and Time Types</li>
<li>SQLCLR</li>
<li>Reporting Services</li>
</ul>
</li>
<li>Demos (12)
<ul>
<li>AdventureWorks Racing All-Up SQL Server 2008 Demo</li>
<li>SQL Server 2008 All-Up Spatial Demo</li>
<li>Spatial Types Demo</li>
<li>Intro to Filestream Demo</li>
<li>SQL CLR Nullable Types Demo</li>
<li>Programming with Filestream Demo</li>
<li>Reporting Services Web Application Integration Demo</li>
<li>Date and Time Support in SQL Server 2008 Demo</li>
<li>T-SQL Table-Valued Parameters Demo</li>
<li>T-SQL Row Constructors Demo</li>
<li>T-SQL Grouping Sets Demo</li>
<li>T-SQL Merge Demo</li>
</ul>
</li>
<li>Hands-on Labs (3)
<ul>
<li>Using Spatial Data in TSQL</li>
<li>Using Spatial Data in Managed Code</li>
<li>Using SQL CLR in SQL Server 2008</li>
</ul>
</li>
</ul>
<p><strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=e9c68e1b-1e0e-4299-b498-6ab3ca72a6d7" target="_blank">Download </a></strong><strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=e9c68e1b-1e0e-4299-b498-6ab3ca72a6d7" target="_blank">SQL Server 2008 Developer Training Kit</a></strong></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Database, DBA, Pinal Dave, SQL, SQL Authority, SQL Documentation, SQL Download, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5152&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/22/sqlauthority-news-download-sql-server-2008-developer-training-kit/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Introduction to SQL Server 2008 Profiler</title>
		<link>http://blog.sqlauthority.com/2009/04/24/sql-server-introduction-to-sql-server-2008-profiler/</link>
		<comments>http://blog.sqlauthority.com/2009/04/24/sql-server-introduction-to-sql-server-2008-profiler/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Profiler]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4524</guid>
		<description><![CDATA[Introduction
SQL Server Profiler is a powerful tool that is available with SQL Server since a long time; however, it has mostly been underutilized by DBAs. SQL Server Profiler can perform various significant functions such as tracing what is running under the SQL Server Engine’s hood, and finding out how queries are resolved internally and what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4524&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<h3 style="text-align:justify;">Introduction</h3>
<p style="text-align:justify;">SQL Server Profiler is a powerful tool that is available with SQL Server since a long time; however, it has mostly been underutilized by DBAs. SQL Server Profiler can perform various significant functions such as tracing what is running under the SQL Server Engine’s hood, and finding out how queries are resolved internally and what scripts are running to accomplish any T-SQL command. The major functions this tool can perform have been listed below:</p>
<ul style="text-align:justify;">
<li>Creating trace</li>
<li>Watching trace</li>
<li>Storing trace</li>
<li>Replaying trace</li>
</ul>
<p style="text-align:justify;">Trace includes all the T-SQL scripts that run simultaneously on SQL Server. As trace contains all the T-SQL scripts running on SQL Server, it often tends to become considerably huge. Hence, it is always a good practice to capture only those data that are actually required for analysis.</p>
<h3 style="text-align:justify;">Dilemma to use on Production Server</h3>
<p style="text-align:justify;">SQL Server Profiler has a lot of potential as a tool and offers several advantages. Unfortunately, developers have been keeping their hands off from this tool and usually give two major excuses.</p>
<ul style="text-align:justify;">
<li>Reason 1: Profiler adds too much overhead to production server.</li>
<li>Reason 2: Profiler accumulates plethora of data making it extremely intricate to analyze them afterwards.</li>
</ul>
<h3 style="text-align:justify;"><a href="http://dotnetslackers.com/articles/sql/Introduction-to-SQL-Server-2008-Profiler.aspx" target="_blank">Read Complete Article here.</a></h3>
<p>Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: SQL Profiler <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4524/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4524/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4524/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4524&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/24/sql-server-introduction-to-sql-server-2008-profiler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; FIX : ERROR : The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147749896 (0×80041008)</title>
		<link>http://blog.sqlauthority.com/2009/04/12/sql-server-fix-error-the-sql-server-system-configuration-checker-cannot-be-executed-due-to-wmi-configuration-on-the-machine-error2147749896-0%c3%9780041008/</link>
		<comments>http://blog.sqlauthority.com/2009/04/12/sql-server-fix-error-the-sql-server-system-configuration-checker-cannot-be-executed-due-to-wmi-configuration-on-the-machine-error2147749896-0%c3%9780041008/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 01:30:20 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4292</guid>
		<description><![CDATA[A couple of days back I  had my computer formatted. I reinstalled it with Vista SP1 32bit. Subsequent to installing other indispensable software  I tried to install SQL Server 2005 .  However, it instantly displayed the following error message.
The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147749896 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4292&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">A couple of days back I  had my computer formatted. I reinstalled it with Vista SP1 32bit. Subsequent to installing other indispensable software  I tried to install SQL Server 2005 .  However, it instantly displayed the following error message.</p>
<p style="text-align:justify;"><span style="color:#ff0000;">The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine Error:2147749896 (0×80041008).</span></p>
<p style="text-align:justify;">It was a bit frustrating for me as it was pretty late and I ardently wanted to install SQL Server 2008 right after I was done  with installing SQL Server 2005. I pinged my friend <em>James Locazicoski </em>with the above error message. James came to my rescue with a batch file. I immediately ran the batch file on my server;  it took a while and when it was done it closed itself on vista. I kept my fingers crossed and ran my SQL Server installer right after that.   There was no WMI error to wreck my nerve. I was able to successfully install SQL Server right after that.</p>
<p style="text-align:justify;">Well, this bat file is certainly a life savior. While searching online I found this script at several places, which reflects its popularity and usability.  I need help from my readers regarding the following information.</p>
<p style="text-align:justify;"><em><strong>1) Where is the original source of this script?</strong></em></p>
<p style="text-align:justify;"><em><strong>2) What is this script actually doing?</strong></em></p>
<p style="text-align:justify;">Once I receive response to both the above questions, I will post the answers  on my blog with due credit to my readers.</p>
<h3 style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/WMIFIX.zip" target="_blank">Download Batch File Here</a></h3>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Authority, SQL Error Messages, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4292&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/12/sql-server-fix-error-the-sql-server-system-configuration-checker-cannot-be-executed-due-to-wmi-configuration-on-the-machine-error2147749896-0%c3%9780041008/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; Download Microsoft SQL Server Management Pack for Operations Manager 2007</title>
		<link>http://blog.sqlauthority.com/2009/04/10/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-3/</link>
		<comments>http://blog.sqlauthority.com/2009/04/10/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-3/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 01:30:36 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4278</guid>
		<description><![CDATA[The SQL Server Management Pack provides the capabilities for Operations Manager 2007 to discover SQL Server 2000, 2005 and 2008 installations and components and to monitor them, primarily from the perspective of availability and performance. The availability and performance monitoring is done using a combination of scripts and native Operations Manager capabilities.
Scripts in the SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4278&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><span>The SQL Server Management Pack provides the capabilities for Operations Manager 2007 to discover SQL Server 2000, 2005 and 2008 installations and components and to monitor them, primarily from the perspective of availability and performance. The availability and performance monitoring is done using a combination of scripts and native Operations Manager capabilities.</span></p>
<p style="text-align:justify;"><strong></strong>Scripts in the SQL Server 2008 management pack rely on SQL Data Management Objects (SQL-DMO) to query information from the SQL Server. SQL-DMO is now deprecated and is not shipped as a part of SQL Server 2008. Every system with SQL Server 2008 that will be monitored must have SQL-DMO installed from the Microsoft SQL Server 2005 Backward Compatibility Components. For instructions on how to download and install the SQL Server 2005 Backward Compatibility Components refer to the management pack guide.</p>
<p style="text-align:justify;"><span><strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=8c0f970e-c653-4c15-9e51-6a6cadfca363" target="_blank">Download Microsoft SQL Server Management Pack for Operations Manager 2007</a></strong></span></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Database, SQL, SQL Add-On, SQL Authority, SQL Download, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLAuthority News, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4278&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/10/sqlauthority-news-download-microsoft-sql-server-management-pack-for-operations-manager-2007-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Server Type and File Extention</title>
		<link>http://blog.sqlauthority.com/2009/04/07/sql-server-server-type-and-file-extention/</link>
		<comments>http://blog.sqlauthority.com/2009/04/07/sql-server-server-type-and-file-extention/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4241</guid>
		<description><![CDATA[Owing to my personal experience so far, I can undeniably say that Microsoft Windows products are outstanding. One of the reasons that make them exceptional is their little nifty tricks. For instance, every time I double click myfilename.sql it opens Microsoft SQL Server Management Studio (SSMS). The reason how Windows discerns that it has to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4241&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Owing to my personal experience so far, I can undeniably say that Microsoft Windows products are outstanding. One of the reasons that make them exceptional is their little nifty tricks. For instance, every time I double click <em>myfilename<strong>.sql</strong></em> it opens Microsoft SQL Server Management Studio (SSMS). The reason how Windows discerns that it has to open SSMS is because the extension of file I had clicked is<em><strong> .sql</strong></em>. I explored and found that SQL Server has few more filetypes associated with it, which are as follows.</p>
<p style="text-align:justify;">SQL Server -<strong> .sql</strong><br />
SQL Server Compact 3.5 SP1 -<strong> .sqlce</strong><br />
SQL Server Analysis Service &#8211; <strong>.mdx, .xmla</strong>
</p>
<p style="text-align:justify;">Moving on, I would like to talk about another command that can open SQL Server Management Studio. Just type sqlwb in command prompt to open SSMS and bring credential prompt on screen.</p>
<p style="text-align:justify;">I hope you find this article useful. Let me have your feedback so that we can take this topic further.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Posted in Database, Pinal Dave, Software Development, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4241&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/07/sql-server-server-type-and-file-extention/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Management Studio New Features</title>
		<link>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/</link>
		<comments>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4236</guid>
		<description><![CDATA[Pinalkumar Dave describes the top 5 features of SQL Server Management Studio 2008.
This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.
SQL Server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4236&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><span>Pinalkumar Dave describes the top 5 features of SQL Server Management Studio 2008.</span></p>
<p style="text-align:justify;">This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">SQL Server 2008 has been released for a year now. In SQL Server 2000, DBA had to use two different tools to maintain the database as well as the query database, specifically SQL Server Enterprise Manager and SQL Server Query Analyzer. With the release of SQL Server 2005 both of these tools are combined into one tool: SQL Server Management Studio. For a while DBA who were fan of Query Analyzer requested to bring it back but as they keep on using SQL Server Management Studio (SSMS) they realized that it was much more convenient if every task related to SQL Server could be accomplished using SSMS. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">Let us go over a few of the important new features of the SSMS 2008. The list of SQL Server 2008 SSMS improvements is very long. I have selected my favorite 5 features and we will go over them.</p>
<ol style="text-align:justify;">
<li>IntelliSense for Query Editing</li>
<li>Multi Server Query</li>
<li>Query Editor Regions</li>
<li>Object Explorer Enhancements</li>
<li>Activity Monitors</li>
</ol>
<h3 style="text-align:center;"><a href="http://dotnetslackers.com/articles/sql/SQL-Server-2008-Management-Studio-New-Features.aspx" target="_blank">Read Complete article here.</a></h3>
<br />Posted in Best Practices, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQL Utility, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4236&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Very Powerful and Feature-Rich Backup, Zip and FTP Utility SQLBackupAndFTP</title>
		<link>http://blog.sqlauthority.com/2009/04/02/sql-server-very-powerful-and-feature-rich-backup-zip-and-ftp-utility-sqlbackupandftp/</link>
		<comments>http://blog.sqlauthority.com/2009/04/02/sql-server-very-powerful-and-feature-rich-backup-zip-and-ftp-utility-sqlbackupandftp/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 01:30:35 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Backup and Restore]]></category>
		<category><![CDATA[SQL Data Storage]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[FTP]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4206</guid>
		<description><![CDATA[It goes without saying that Database Backup is the most important task for any Database Administrator (DBA). Naturally, large organizations always have a team of DBAs who execute Database Backup tasks. No matter how big or small an organization is, the importance of database backup remains the same across the board. It’s a common practice [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4206&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">It goes without saying that Database Backup is the most important task for any Database Administrator (DBA). Naturally, large organizations always have a team of DBAs who execute Database Backup tasks. No matter how big or small an organization is, the importance of database backup remains the same across the board. It’s a common practice in several organizations to upload the backup to their remote location for additional safety. I totally vouch for this safety measure of having their additional backup on remote/satellite location. This redundancy comes in handy whenever a catastrophe of not having proper backup surfaces abruptly.</p>
<p style="text-align:justify;">While I was searching online for a very simple solution for one of my clients, I came across a small-sized but feature-rich application from <strong><a href="http://www.SqlBackupAndFTP.com" target="_blank">SqlBackupAndFTP.com</a></strong>. This practical application has been created by Pranas.NET (<a href="http://pranas.net" target="_blank">http://pranas.net</a>) I have made extensive use of this tool for some time now and undoubtedly, this tool is very impressive by all standards!</p>
<p style="text-align:justify;">To put it simply, <a href="http://www.SqlBackupAndFTP.com" target="_blank"><strong>SQLBackupAndFTP</strong> </a>is MS SQL Server backup software. This tool performs several tasks such as running scheduled backups of SQL Server or SQL Server Express databases, zipping the backups, storing them on a network or on a FTP server, removing old backups, and finally, sending an e-mail confirmation on job&#8217;s success or failure. Besides, SQLBackupAndFTP Free is freeware, which is free from any spyware. Best of all, this ingeniously simple tool is extremely affordable for all. You just need to install it on the server and you can get up and running really fast.</p>
<p style="text-align:justify;">Given below are some important tasks which this tool can perform using daily scheduler:<br />
•    Backup SQL Server Database<br />
•    Zip the backups<br />
•    Encrypt the backups<br />
•    FTP the backups to remove FTP server<br />
•    Move file to local area network<br />
•    Send final status of tasks in email.
</p>
<p style="text-align:justify;">Let us now see how we can take backup and move it to the desired folder.</p>
<p style="text-align:justify;"><strong>Image 1: </strong>First, connect to the desired server.<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/backup1.jpg" alt="" width="482" height="675" /></p>
<p style="text-align:justify;"><strong>Image 2:</strong> As you can see, all the settings are very easy as described in the following image. Pay attention to these very simple, one screen settings. From database selection to job scheduling, you can configure everything from this page itself.<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/backup2.jpg" alt="" width="500" height="451" /></p>
<p style="text-align:justify;"><strong>Image 3:</strong> This screen describes all the steps that are being performed. User can easily view the status of all the jobs &#8211; either success or failure &#8211; on this page.<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/backup3.jpg" alt="" width="500" height="247" /></p>
<p style="text-align:justify;"><strong>Image 4:</strong> The following screen displays the settings for advanced users who have to deal with large database.<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/backup4.jpg" alt="" width="500" height="648" /></p>
<p style="text-align:justify;"><strong>Image 5: </strong>This screen displays email regarding final status of tasks, which is sent to the user after task completion.<br />
<img class="alignnone" src="http://www.pinaldave.com/bimg/backup5.jpg" alt="" width="500" height="192" />
</p>
<p style="text-align:justify;">Now, a question that might baffle your mind is – how this tool is better than maintenance tasks available in SQL Server. Well, here goes the answer. Maintenance tasks are easy to set up for backups; however, SQLBackupAndFTP have integrated solution for encryption, FTP and email which make it superior to maintenance tasks in every aspect.</p>
<p style="text-align:justify;">I would like to present my unbiased view about this tool. At the same time, I want to give my readers a broad perspective about backup tools in general.  On comparing this tool with other backup tools I have experienced that it is not the fanciest tool to manage backups or check their health. This is one tool that smoothly performs the job in a few steps compared to native SQL Server backup, which takes numerous steps to execute the same job.</p>
<p style="text-align:justify;"><a href="http://www.SqlBackupAndFTP.com" target="_blank"><strong>SQLBackupAndFTP</strong></a> is best suited for developers/DBAs who just want to ensure that they have schedule job that takes care of backup and moves them to appropriate place. In fact, it is ideal for any SQL Server database where backups need to be sent every day to a remote FTP server. It saves maintenance time on any SQL Server version. Besides, it is especially useful for SQL Server Express 2005 and SQL Server Express 2008, as they lack built in tools for backup.</p>
<p style="text-align:justify;">This tool is compatible with almost all the known SQL Server versions. It works with SQL Server 2008 (all versions) and many of the previous versions.</p>
<p style="text-align:justify;">While testing this tool, I noticed that there are few limitations. It does not support differential or transaction backups. I also found that this tool only works on local SQL Server instances and cannot connect to another SQL Server on LAN. When I contacted support, I came to know that they are planning to release its updated version in April 2009, which will not have any such limitations.</p>
<p style="text-align:justify;">I strongly recommend this tool to all the DBAs. They must try it as it is absolutely free and does exactly what it promises. You can <strong><a href="http://sqlbackupandftp.com/download/SqlBakSetup.exe" target="_blank">download your free copy</a></strong> of the tool from here.</p>
<p style="text-align:justify;">Please share your experience about using this tool. I am eager to receive your feedback regarding this article.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Posted in Database, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Backup and Restore, SQL Data Storage, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: FTP <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4206&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/02/sql-server-very-powerful-and-feature-rich-backup-zip-and-ftp-utility-sqlbackupandftp/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/backup1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/backup2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/backup3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/backup4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/backup5.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; IntelliSense Does Not Work &#8211; Enable IntelliSense</title>
		<link>http://blog.sqlauthority.com/2009/03/31/sql-server-2008-intellisense-does-not-work-enable-intellisense/</link>
		<comments>http://blog.sqlauthority.com/2009/03/31/sql-server-2008-intellisense-does-not-work-enable-intellisense/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 01:30:04 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[IntelliSense]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4106</guid>
		<description><![CDATA[While I was working with SQL Server 2008 IntelliSense, I realized that it was not functioning as I expected. Even after I had enabled IntelliSense it was still not opening any suggestions at all. After a while, I figured out some vital information regarding how to make sure IntelliSense smoothly works all the time without [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4106&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While I was working with SQL Server 2008 IntelliSense, I realized that it was not functioning as I expected. Even after I had enabled IntelliSense it was still not opening any suggestions at all. After a while, I figured out some vital information regarding how to make sure IntelliSense smoothly works all the time without you giving any trouble.</p>
<p>Given below are four different ways through which you can enable IntelliSense.</p>
<p style="text-align:justify;"><strong>1) Make sure you are connected to SQL Server 2008 Edition. </strong><br />
IntelliSense does not work with the previous versions of SQL Server.
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/int1.jpg" alt="" width="449" height="195" /></p>
<p style="text-align:justify;"><strong>2) IntelliSense should be enabled.<br />
</strong>There are two ways to verify whether IntelliSense is enabled or not.<br />
a) From Toolbar
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/int2b.jpg" alt="" width="500" height="242" /></p>
<p>b) Go to Tools &gt;&gt; Options &gt;&gt; Text Editor &gt;&gt; Transact-SQL &gt;&gt; IntelliSense</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/int2a.jpg" alt="" width="493" height="465" /></p>
<p style="text-align:justify;"><strong>3) IntelliSense should be refreshed with the latest changes in database. </strong><br />
a) Press CTRL+SHIFT+R<br />
b) Go to Edit &gt;&gt; IntelliSense &gt;&gt; Refresh Local Cache
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/int3.jpg" alt="" width="476" height="464" /></p>
<p style="text-align:justify;"><strong>4) Go to Tools &gt;&gt; Options &gt;&gt; Text Editor &gt;&gt; Transact-SQL &gt;&gt; General &gt;&gt; IntelliSense</strong><br />
Select Auto List Members and Check Parameter Information.
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/int4.jpg" alt="" width="500" height="289" /></p>
<p>Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Error Messages, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, SQLServer, T SQL, Technology Tagged: IntelliSense <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4106&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/31/sql-server-2008-intellisense-does-not-work-enable-intellisense/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/int1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/int2b.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/int2a.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/int3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/int4.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Location of Activity Monitor &#8211; Where is SQL Serve Activity Monitor Located</title>
		<link>http://blog.sqlauthority.com/2009/03/23/sql-server-2008-location-of-activity-monitor-where-is-sql-serve-activity-monitor-located/</link>
		<comments>http://blog.sqlauthority.com/2009/03/23/sql-server-2008-location-of-activity-monitor-where-is-sql-serve-activity-monitor-located/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 01:30:29 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Activity Monitor]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=3867</guid>
		<description><![CDATA[I received question from Aloke Sinha after reading my article SQL SERVER &#8211; 2008 &#8211; Activity Monitor is Empty &#8211; Fix Activity Monitor for All Users.
Hello Pinalbhai,
Thank you for your post about activity monitor, but I can not find activity monitor under Menu &#8212; Tools. How to activate it?
[Other unrelated information removed]
Take care,
Aloke Sinha
The reason [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3867&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I received question from Aloke Sinha after reading my article <a href="http://blog.sqlauthority.com/2009/03/22/sql-server-2008-activity-monitor-is-empty-fix-activity-monitor-for-all-users/" target="_blank">SQL SERVER &#8211; 2008 &#8211; Activity Monitor is Empty &#8211; Fix Activity Monitor for All Users</a>.</p>
<p style="padding-left:30px;"><em>Hello Pinalbhai,</em></p>
<p style="padding-left:30px;"><em>Thank you for your post about activity monitor, but I can not find activity monitor under Menu &#8212; Tools. How to activate it?</em></p>
<p style="padding-left:30px;"><em>[Other unrelated information removed]</em></p>
<p style="padding-left:30px;"><em>Take care,<br />
Aloke Sinha</em></p>
<p>The reason I decided to write about this subject is because I totally understand why Aloke is confused here. Activity Monitor can not be activated from any menu from top menu bar. There are two different methods to activate Activity Monitors.</p>
<p>From Standard Toolbar (Standard Toolbar can be made visible from here : Menu &gt;&gt; View &gt;&gt; Toolbar &gt;&gt; Standard) and from &#8220;Right Click&#8221; of SQL Server Node.</p>
<p><img class="alignnone" src="http://www.pinaldave.com/bimg/avmon/avmonact.jpg" alt="" width="512" height="344" /></p>
<p>Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
<br />Posted in Pinal Dave, Readers Question, SQL, SQL Add-On, SQL Authority, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: SQL Activity Monitor <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/3867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/3867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/3867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/3867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/3867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/3867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/3867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/3867/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/3867/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/3867/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3867&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/23/sql-server-2008-location-of-activity-monitor-where-is-sql-serve-activity-monitor-located/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/avmon/avmonact.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Find All Servers From Local Network &#8211; Using sqlcmd &#8211; Detect Installed SQL Server on Network</title>
		<link>http://blog.sqlauthority.com/2009/03/18/sql-server-find-all-servers-from-local-network-using-sqlcmd/</link>
		<comments>http://blog.sqlauthority.com/2009/03/18/sql-server-find-all-servers-from-local-network-using-sqlcmd/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 01:30:45 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Function]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[sqlcmd]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=3786</guid>
		<description><![CDATA[I recently had requirement to create list of all the SQL Server on local network. I remembered that I had written similar script a year ago SQL SERVER &#8211; Script to Find SQL Server on Network. When I looked at it, I realize that I had written it for SQL Server 2000 and used &#8220;isql&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3786&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I recently had requirement to create list of all the SQL Server on local network. I remembered that I had written similar script a year ago <a href="http://blog.sqlauthority.com/2007/04/13/sql-server-script-to-find-sql-server-on-network/" target="_blank">SQL SERVER &#8211; Script to Find SQL Server on Network</a>. When I looked at it, I realize that I had written it for SQL Server 2000 and used &#8220;isql&#8221; utility, which is deprecated now. I quickly wrote down updated script using &#8220;sqlcmd&#8221;. Command &#8220;osql&#8221; still works in SQL Server 2008.</p>
<p style="text-align:justify;">Go to command prompt and type in &#8220;osql -L&#8221; or &#8220;sqlcmd -L&#8221;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/sqlcmdl.jpg" alt="" width="437" height="333" /></p>
<p style="text-align:justify;">Note one change between osql and sqlcmd is that osql has additional server &#8220;(local)&#8221; listed in the servers list which is in fact same as &#8220;SQL&#8221; in my case. While &#8220;sqlcmd&#8221; gives accurate result.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Authority, SQL Function, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: sqlcmd <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/3786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/3786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/3786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/3786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/3786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/3786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/3786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/3786/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/3786/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/3786/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3786&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/18/sql-server-find-all-servers-from-local-network-using-sqlcmd/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sqlcmdl.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Practical SQL Server XML: Part One &#8211; Query Plan Cache and Cost of Operations in the Cache</title>
		<link>http://blog.sqlauthority.com/2009/03/17/sql-server-practical-sql-server-xml-part-one-query-plan-cache-and-cost-of-operations-in-the-cache/</link>
		<comments>http://blog.sqlauthority.com/2009/03/17/sql-server-practical-sql-server-xml-part-one-query-plan-cache-and-cost-of-operations-in-the-cache/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL XML]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=3747</guid>
		<description><![CDATA[I am very fortunate that I have friends like Michael Coles. Michael Coles is SQL Server and XML expert and have written many books on SQL Server as well XML. He has previously written book which I have reviewed on this blog SQLAuthority News &#8211; Book Review &#8211; Pro T-SQL 2005 Programmer’s Guide (Paperback). I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3747&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I am very fortunate that I have friends like Michael Coles. Michael Coles is SQL Server and XML expert and have written many books on SQL Server as well XML. He has previously written book which I have reviewed on this blog <strong><a href="http://blog.sqlauthority.com/2007/09/15/sqlauthority-news-book-review-pro-t-sql-2005-programmers-guide-paperback/" target="_blank">SQLAuthority News &#8211; Book Review &#8211; Pro T-SQL 2005 Programmer’s Guide (Paperback)</a></strong>. I am currently reading his latest book <a href="http://www.amazon.com/dp/1590599837" target="_blank">Pro SQL Server 2008 XML (Hardcover)</a> which can be found on amazon. I will be writing review of the book once I am done reading it.</p>
<p style="text-align:justify;">Michael Coles and I met last at Microsoft MVP Summit 2009 at Seattle and I come to know he very much young and dynamic person who is friend of everybody. His knowledge of SQL Server is exception and I had requested him to write one practical demonstration of XML and he took up this challenge very well and the out come of that challenge is I am going to publish in this blog as it is.</p>
<p style="text-align:justify;">
<div class="wp-caption alignnone" style="width: 510px"><img title="Michael Coles and Pinal Dave" src="http://www.pinaldave.com/bimg/mvpsummit/DSC03577.jpg" alt="Michael Coles and Pinal Dave" width="500" height="375" /><p class="wp-caption-text">Michael Coles and Pinal Dave</p></div>
<p>I spoke to Pinal Dave at the MVP Summit this week, and he challenged me to provide his readers with a practical demonstration of using XML in the database.  I took up the challenge, and decided to go one better by giving two practical demonstrations.</p>
<p style="text-align:justify;">This post is the first demonstration, which queries the SQL Server query plan cache and returns the cost of operations in the cache. <strong> The query simply shreds the cached XML query plans and grabs all the RelOp nodes, which represent all the operators used by the query plan.</strong> In the second post at <a href="http://sqlblog.com/blogs/michael_coles/archive/2009/03/03/practical-sql-server-xml-part-2.aspx" target="_blank">http://sqlblog.com/blogs/michael_coles/archive/2009/03/03/practical-sql-server-xml-part-2.aspx</a> I’ll demonstrate passing XML parameter “sets” into a stored procedure.  As a bonus, SQL MVP Jacob Sebastian has agreed to add a third post on his blog, at <a href="http://blog.beyondrelational.com/2009/03/practical-sql-server-xml-part-three.html" target="_blank">http://blog.beyondrelational.com/2009/03/practical-sql-server-xml-part-three.html</a> that will give a practical example of using XML Schema in SQL Server.</p>
<p style="text-align:justify;">The XML Query plans look like this in the cache (note that I simplified the XML and this is only a small portion that’s relevant):</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:gray;">&lt;</span><span style="color:black;">QueryPlan xmlns:p</span><span style="color:blue;">=</span><span style="color:darkred;">"http://schemas.microsoft.com/sqlserver/2004/07/showplan"<br />
</span><span style="color:black;">CachedPlanSize</span><span style="color:blue;">=</span><span style="color:darkred;">"112"<br />
</span><span style="color:black;">CompileTime</span><span style="color:blue;">=</span><span style="color:darkred;">"500"<br />
</span><span style="color:black;">CompileCPU</span><span style="color:blue;">=</span><span style="color:darkred;">"53"<br />
</span><span style="color:black;">CompileMemory</span><span style="color:blue;">=</span><span style="color:darkred;">"1968"</span><span style="color:gray;">&gt;</span></code>
</p>
<p style="text-align:justify;"><span style="color:black;">&#8230;</span></p>
<p style="text-align:justify;"><span style="color:gray;">&lt;</span><span style="color:black;">RelOp NodeId</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;0&#8243;<br />
</span><span style="color:black;">PhysicalOp</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;Sequence Project&#8221;<br />
</span><span style="color:black;">LogicalOp</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;Compute Scalar&#8221;<br />
</span><span style="color:black;">EstimateRows</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;227.951&#8243;<br />
</span><span style="color:black;">EstimateIO</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;0&#8243;<br />
</span><span style="color:black;">EstimateCPU</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;1.82361e-005&#8243;<br />
</span><span style="color:black;">AvgRowSize</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;5202&#8243;<br />
</span><span style="color:black;">EstimatedTotalSubtreeCost</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;930.972&#8243; </span><span style="color:black;">&#8230;</span><span style="color:gray;">&gt;</span>
</p>
<p style="text-align:justify;"><span style="color:black;">&#8230;</span></p>
<p style="text-align:justify;"><span style="color:gray;">&lt;</span><span style="color:black;">RelOp NodeId</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;1&#8243;<br />
</span><span style="color:black;">PhysicalOp</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;Segment&#8221;<br />
</span><span style="color:black;">LogicalOp</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;Segment&#8221;<br />
</span><span style="color:black;">EstimateRows</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;227.951&#8243;<br />
</span><span style="color:black;">EstimateIO</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;0&#8243;<br />
</span><span style="color:black;">EstimateCPU</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;4.55901e-006&#8243;<br />
</span><span style="color:black;">AvgRowSize</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;5202&#8243;<br />
</span><span style="color:black;">EstimatedTotalSubtreeCost</span><span style="color:blue;">=</span><span style="color:darkred;">&#8220;930.972&#8243; </span><span style="color:black;">&#8230;</span><span style="color:gray;">&gt;</span>
</p>
<p style="text-align:justify;"><span style="color:black;">&#8230;</span></p>
<p style="text-align:justify;"><span style="color:gray;">&lt;/</span><span style="color:black;">RelOp</span><span style="color:gray;">&gt;</span></p>
<p style="text-align:justify;"><span style="color:black;">&#8230;</span></p>
<p style="text-align:justify;"><span style="color:gray;">&lt;/</span><span style="color:black;">RelOp</span><span style="color:gray;">&gt;<br />
&lt;/</span><span style="color:black;">QueryPlan</span><span style="color:gray;">&gt;<br />
</span>
</p>
<p style="text-align:justify;">The equivalent graphical execution plan looks like this (note this is a partial screenshot):</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/xmlseries1.png" target="_blank"><img class="alignnone" src="http://www.pinaldave.com/bimg/xmlseries1.png" alt="" width="500" height="394" /></a></p>
<p style="text-align:justify;"><em><strong>(Click on image to see enlarged image)</strong></em></p>
<p style="text-align:justify;">(Note that you can save your graphical execution query plans as XML also – just right-click in the graphical execution query plan window and save it as a .sqlplan file. The .sqlplan file is in XML format – you can verify this by opening it in NotePad).</p>
<p style="text-align:justify;">Since SQL Server 2005 and 2008 store the query plans in the cache as XML we can get all of the same information in relational format.  The sample query below returns attributes of each operator in each query plan including physical and logical operators, estimated cost, estimated IO, estimated CPU cost, and an estimated number of rows returned.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">WITH </span><span style="color:black;">XMLNAMESPACES</span><span style="color:gray;">(</span><span style="color:blue;">DEFAULT </span><span style="color:red;">N'http://schemas.microsoft.com/sqlserver/2004/07/showplan'</span><span style="color:gray;">),<br />
</span><span style="color:black;">CachedPlans<br />
</span><span style="color:gray;">(<br />
</span><span style="color:black;">ParentOperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">OperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">PhysicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">LogicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedCost</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedIO</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedCPU</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedRows</span><span style="color:gray;">,<br />
</span><span style="color:black;">PlanHandle</span><span style="color:gray;">,<br />
</span><span style="color:black;">QueryText</span><span style="color:gray;">,<br />
</span><span style="color:black;">QueryPlan</span><span style="color:gray;">,<br />
</span><span style="color:black;">CacheObjectType</span><span style="color:gray;">,<br />
</span><span style="color:black;">ObjectType</span><span style="color:gray;">)<br />
</span><span style="color:blue;">AS<br />
</span><span style="color:gray;">(<br />
</span><span style="color:blue;">SELECT<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'../../@NodeId'</span><span style="color:gray;">, </span><span style="color:red;">N'int'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ParentOperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@NodeId'</span><span style="color:gray;">, </span><span style="color:red;">N'int'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">OperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@PhysicalOp'</span><span style="color:gray;">, </span><span style="color:red;">N'varchar(50)'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">PhysicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@LogicalOp'</span><span style="color:gray;">, </span><span style="color:red;">N'varchar(50)'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">LogicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@EstimatedTotalSubtreeCost '</span><span style="color:gray;">, </span><span style="color:red;">N'float'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">EstimatedCost</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@EstimateIO'</span><span style="color:gray;">, </span><span style="color:red;">N'float'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">EstimatedIO</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@EstimateCPU'</span><span style="color:gray;">, </span><span style="color:red;">N'float'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">EstimatedCPU</span><span style="color:gray;">,<br />
</span><span style="color:black;">RelOp.op.value</span><span style="color:gray;">(</span><span style="color:red;">N'@EstimateRows'</span><span style="color:gray;">, </span><span style="color:red;">N'float'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">EstimatedRows</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.plan_handle </span><span style="color:blue;">AS </span><span style="color:black;">PlanHandle</span><span style="color:gray;">,<br />
</span><span style="color:black;">st.</span><span style="color:blue;">TEXT AS </span><span style="color:black;">QueryText</span><span style="color:gray;">,<br />
</span><span style="color:black;">qp.query_plan </span><span style="color:blue;">AS </span><span style="color:black;">QueryPlan</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.cacheobjtype </span><span style="color:blue;">AS </span><span style="color:black;">CacheObjectType</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.objtype </span><span style="color:blue;">AS </span><span style="color:black;">ObjectType<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_exec_cached_plans cp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:black;">st<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_query_plan</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:black;">qp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY qp.query_plan.nodes</span><span style="color:gray;">(</span><span style="color:red;">N'//RelOp'</span><span style="color:gray;">) </span><span style="color:black;">RelOp </span><span style="color:gray;">(</span><span style="color:black;">op</span><span style="color:gray;">)<br />
)<br />
</span><span style="color:blue;">SELECT<br />
</span><span style="color:black;">PlanHandle</span><span style="color:gray;">,<br />
</span><span style="color:black;">ParentOperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">OperationID</span><span style="color:gray;">,<br />
</span><span style="color:black;">PhysicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">LogicalOperator</span><span style="color:gray;">,<br />
</span><span style="color:black;">QueryText</span><span style="color:gray;">,<br />
</span><span style="color:black;">CacheObjectType</span><span style="color:gray;">,<br />
</span><span style="color:black;">ObjectType</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedCost</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedIO</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedCPU</span><span style="color:gray;">,<br />
</span><span style="color:black;">EstimatedRows<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">CachedPlans<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">CacheObjectType </span><span style="color:blue;">= </span><span style="color:red;">N'Compiled Plan'</span><span style="color:gray;">; </span></code>
</p>
<p style="text-align:justify;">The results look similar to the following:</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/bimg/xmlseries2.png" target="_blank"><img class="alignnone" src="http://www.pinaldave.com/bimg/xmlseries2.png" alt="" width="499" height="148" /></a></p>
<p style="text-align:justify;"><em><strong>(Click on image to see enlarged image)</strong></em></p>
<p style="text-align:justify;">Since the XML query plan is hierarchical in structure, with operations nested within other operations, I’ve added the columns ParentOperationID and OperationID.  The ParentOperationID values point to the current operator’s parent operator.  I added the arrows in the results above to demonstrate.</p>
<p style="text-align:justify;">So what’s the practical use of this?  Well, once you have the XML query plan information in relational format it’s relatively easy to manipulate.  You can determine, for instance, the Top 10 most costly queries in your cache and the operators in those queries are the most expensive. You can even log this information to a table or send it out in other formats.</p>
<p style="text-align:justify;">In part 2 of this series I’ll talk about another practical use for SQL Server-based XML, at <a href="http://sqlblog.com/blogs/michael_coles/archive/2009/03/03/practical-sql-server-xml-part-2.aspx" target="_blank">http://sqlblog.com/blogs/michael_coles/archive/2009/03/03/practical-sql-server-xml-part-2.aspx</a>.  SQL Server MVP Jacob Sebastian will finish the series with part 3 on his blog at <a href="http://blog.beyondrelational.com/2009/03/practical-sql-server-xml-part-three.html" target="_blank">http://blog.beyondrelational.com/2009/03/practical-sql-server-xml-part-three.html</a>.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Posted in Database, Pinal Dave, Readers Contribution, SQL, SQL Authority, SQL Performance, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: SQL XML <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/3747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/3747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/3747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/3747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/3747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/3747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/3747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/3747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/3747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/3747/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3747&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/17/sql-server-practical-sql-server-xml-part-one-query-plan-cache-and-cost-of-operations-in-the-cache/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/mvpsummit/DSC03577.jpg" medium="image">
			<media:title type="html">Michael Coles and Pinal Dave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/xmlseries1.png" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/xmlseries2.png" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; UDF &#8211; Pad Ride Side of Number with 0 &#8211; Fixed Width Number Display</title>
		<link>http://blog.sqlauthority.com/2009/03/16/sql-server-udf-pad-ride-side-of-number-with-0-fixed-width-number-display/</link>
		<comments>http://blog.sqlauthority.com/2009/03/16/sql-server-udf-pad-ride-side-of-number-with-0-fixed-width-number-display/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 01:30:42 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Contribution]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Function]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=3764</guid>
		<description><![CDATA[I had written article SQL SERVER &#8211; Pad Ride Side of Number with 0 &#8211; Fixed Width Number Display few days ago. Previous article was answer to the email which I had received:
Dear Pinal,
I have situation where I need to display my numbers in fixed format. Like
1 as 0000001
109 as 0000109
0987 as 0000987

Is there any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3764&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I had written article <strong><a href="http://blog.sqlauthority.com/2009/03/10/sql-server-pad-ride-side-of-number-with-0-fixed-width-number-display/" target="_blank">SQL SERVER &#8211; Pad Ride Side of Number with 0 &#8211; Fixed Width Number Display</a></strong> few days ago. Previous article was answer to the email which I had received:</p>
<p style="padding-left:30px;text-align:justify;"><em>Dear Pinal,</em></p>
<p style="padding-left:30px;text-align:justify;"><em>I have situation where I need to display my numbers in fixed format. Like</em></p>
<p style="padding-left:30px;text-align:justify;"><strong><em>1 as 0000001<br />
109 as 0000109</em><em><br />
0987 as 0000987</em></strong>
</p>
<p style="padding-left:30px;text-align:justify;"><em>Is there any string function in SQL Server which can do this?</em></p>
<p style="text-align:justify;">I had asked my blog readers to participate at the end of the article and I have received three very good suggestions. I am going to list all the three suggestions here. For me all the three suggestions are equally good. I suggest my readers to use any suggestion which they find easy to understand. I suggest to read my <a href="http://blog.sqlauthority.com/2009/03/10/sql-server-pad-ride-side-of-number-with-0-fixed-width-number-display/" target="_blank">previous article</a> before continuing this article further.</p>
<p style="text-align:justify;"><strong>Solution 1 by <a href="http://blog.sqlauthority.com/2009/03/10/sql-server-pad-ride-side-of-number-with-0-fixed-width-number-display/#comment-48722" target="_blank">Imran Mohammed</a></strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">CREATE FUNCTION </span><span style="color:black;">dbo.FnExample<br />
</span><span style="color:gray;">(<br />
</span><span style="color:#434343;">@Size </span><span style="color:blue;">INT</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@Column_Value </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:blue;">MAX</span><span style="color:gray;">)<br />
)<br />
</span><span style="color:blue;">RETURNS TABLE<br />
AS<br />
RETURN<br />
</span><span style="color:gray;">(<br />
</span><span style="color:green;">-- Add the SELECT statement with parameter references here<br />
</span><span style="color:blue;">SELECT </span><span style="color:magenta;">RIGHT</span><span style="color:gray;">(</span><span style="color:magenta;">REPLICATE</span><span style="color:gray;">(</span><span style="color:black;">0</span><span style="color:gray;">, </span><span style="color:#434343;">@Size</span><span style="color:gray;">)<br />
+ </span><span style="color:magenta;">CONVERT </span><span style="color:gray;">(</span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:blue;">MAX</span><span style="color:gray;">), </span><span style="color:#434343;">@Column_Value</span><span style="color:gray;">), </span><span style="color:#434343;">@Size</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ID<br />
</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Run following script to see output<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">* </span><span style="color:blue;">FROM </span><span style="color:black;">dbo.FnExample </span><span style="color:gray;">(</span><span style="color:black;">7</span><span style="color:gray;">, </span><span style="color:black;">123</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code>
</p>
<p style="text-align:justify;"><strong>Solution 2 by <a href="http://blog.sqlauthority.com/2009/03/10/sql-server-pad-ride-side-of-number-with-0-fixed-width-number-display/#comment-48725" target="_blank">Fenil Desai</a></strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">CREATE FUNCTION </span><span style="color:black;">[dbo].[f_pad_before]<br />
</span><span style="color:gray;">( </span><span style="color:#434343;">@string </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">255</span><span style="color:gray;">),<br />
</span><span style="color:#434343;">@desired_length </span><span style="color:black;">INTEGER</span><span style="color:gray;">,<br />
</span><span style="color:#434343;">@pad_character </span><span style="color:blue;">CHAR</span><span style="color:gray;">(</span><span style="color:black;">1</span><span style="color:gray;">))<br />
</span><span style="color:blue;">RETURNS VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">255</span><span style="color:gray;">) </span><span style="color:blue;">AS<br />
BEGIN<br />
</span><span style="color:green;">/* Prefix the required number of spaces to bulk up the string and<br />
then replace the spaces with the desired character */<br />
</span><span style="color:blue;">RETURN </span><span style="color:magenta;">LTRIM</span><span style="color:gray;">(</span><span style="color:magenta;">RTRIM</span><span style="color:gray;">(<br />
</span><span style="color:magenta;">CASE<br />
</span><span style="color:blue;">WHEN </span><span style="color:magenta;">LEN</span><span style="color:gray;">(</span><span style="color:#434343;">@string</span><span style="color:gray;">) &lt; </span><span style="color:#434343;">@desired_length<br />
</span><span style="color:blue;">THEN </span><span style="color:magenta;">REPLACE</span><span style="color:gray;">(</span><span style="color:magenta;">SPACE</span><span style="color:gray;">(</span><span style="color:#434343;">@desired_length </span><span style="color:gray;">- </span><span style="color:magenta;">LEN</span><span style="color:gray;">(</span><span style="color:#434343;">@string</span><span style="color:gray;">)), </span><span style="color:red;">' '</span><span style="color:gray;">, </span><span style="color:#434343;">@pad_character</span><span style="color:gray;">) + </span><span style="color:#434343;">@string<br />
</span><span style="color:blue;">ELSE </span><span style="color:#434343;">@string<br />
</span><span style="color:blue;">END<br />
</span><span style="color:gray;">))<br />
</span><span style="color:blue;">END<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Run following script to see output<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">dbo.f_pad_before</span><span style="color:gray;">(</span><span style="color:red;">'123'</span><span style="color:gray;">,</span><span style="color:black;">7</span><span style="color:gray;">,</span><span style="color:red;">'0'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code></p>
<p><strong>Solution 3 by <a href="http://blog.sqlauthority.com/2009/03/10/sql-server-pad-ride-side-of-number-with-0-fixed-width-number-display/#comment-48766" target="_blank">CodeMonkey</a></strong></p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">CREATE FUNCTION </span><span style="color:black;">dbo.PadLeft<br />
</span><span style="color:gray;">(</span><span style="color:#434343;">@Value </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:#434343;">@PadWidth </span><span style="color:blue;">INT</span><span style="color:gray;">, </span><span style="color:#434343;">@PadChar </span><span style="color:blue;">CHAR</span><span style="color:gray;">(</span><span style="color:black;">1</span><span style="color:gray;">))<br />
</span><span style="color:blue;">RETURNS VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">255</span><span style="color:gray;">)<br />
</span><span style="color:blue;">AS<br />
BEGIN<br />
RETURN </span><span style="color:magenta;">ISNULL</span><span style="color:gray;">(</span><span style="color:magenta;">REPLICATE</span><span style="color:gray;">(</span><span style="color:#434343;">@PadChar</span><span style="color:gray;">, </span><span style="color:#434343;">@PadWidth </span><span style="color:gray;">- </span><span style="color:magenta;">LEN</span><span style="color:gray;">(</span><span style="color:#434343;">@Value</span><span style="color:gray;">)), </span><span style="color:red;">''</span><span style="color:gray;">)<br />
+ </span><span style="color:magenta;">CAST</span><span style="color:gray;">(</span><span style="color:#434343;">@Value </span><span style="color:blue;">AS VARCHAR</span><span style="color:gray;">)<br />
</span><span style="color:blue;">END<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">-- Run following script to see output<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">dbo.PadLeft</span><span style="color:gray;">(</span><span style="color:black;">123</span><span style="color:gray;">,</span><span style="color:black;">7</span><span style="color:gray;">,</span><span style="color:black;">0</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO</span></code>
</p>
<p style="text-align:justify;">Answer of all of the above script will be <strong>&#8216;0000123&#8242;</strong>.</p>
<p style="text-align:justify;">Again, I want to congratulate all three of my reader to participate in this interesting puzzle and would like to encourage other readers to participate in similar puzzles like this.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Posted in Best Practices, Pinal Dave, Readers Contribution, SQL, SQL Authority, SQL Function, SQL Query, SQL Scripts, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/3764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/3764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/3764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/3764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/3764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/3764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/3764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/3764/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/3764/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/3764/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3764&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/16/sql-server-udf-pad-ride-side-of-number-with-0-fixed-width-number-display/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Profiler &#8211; Adding Filters &#8211; Observation on CPU Load</title>
		<link>http://blog.sqlauthority.com/2009/03/13/sql-server-profiler-adding-filters-observation-on-cpu-load/</link>
		<comments>http://blog.sqlauthority.com/2009/03/13/sql-server-profiler-adding-filters-observation-on-cpu-load/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 01:30:15 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Performance]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Profiler]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=3735</guid>
		<description><![CDATA[Today I am blog about something which I found recently while working with SQL Server Profiler.
Profiler can be invoked just typing profiler in command prompt. I am using Windows Vista Ultimate 32 bit (License Version) and SQL Server 2008 Development (License Version). The reason I have put &#8220;License Version&#8221; because I encourage everybody to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3735&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today I am blog about something which I found recently while working with SQL Server Profiler.</p>
<p style="text-align:justify;">Profiler can be invoked just typing profiler in command prompt. I am using Windows Vista Ultimate 32 bit (License Version) and SQL Server 2008 Development (License Version). The reason I have put &#8220;License Version&#8221; because I encourage everybody to use only licensed software.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/profilercmd.jpg" alt="" width="500" height="405" /></p>
<p style="text-align:justify;">SQL Server Profiler gives feature where we can specify which column filter. Column filter can have value which can be validated with atucal data and based on it, it will store information in profiler stress.</p>
<p style="text-align:justify;">I was always under impression that adding filter will reduce the load on CPU as profiler will have to do less amount of the work. I found that my assumption is wrong while doing testing with very large sample data and collecting very little information with column filter. In fact, column filter increase my CPU usage. After thinking it more I realize why this is happening. I am assuming that SQL Server Profiler has to collect all the necessary information in all the condition but in case of column filter, it will have to compare all the data with filter data, which can be the reason for higher CPU Load. For additional, testing I had removed few of the column filter and found that CPU load is reduced.This validates my theory that when there is filter, CPU has to work harder to filter the data. One good thing is that SQL Server does not store data which is removed, thus it reduces the storage space.</p>
<p style="text-align:justify;">I am eager to know if <a href="http://blog.sqlauthority.com"><strong>SQLAuthority.com</strong></a> readers have ever faced situation like this. What is your opinion about it?</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<br />Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Performance, SQL Query, SQL Server, SQL Tips and Tricks, SQL Utility, T SQL, Technology Tagged: SQL Profiler <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/3735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/3735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/3735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/3735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/3735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/3735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/3735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/3735/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/3735/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/3735/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=3735&subd=sqlauthority&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/03/13/sql-server-profiler-adding-filters-observation-on-cpu-load/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/profilercmd.jpg" medium="image" />
	</item>
	</channel>
</rss>