<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Carpe Datum</title><subtitle type="html">Data Flotsam and Jetsam</subtitle><id>http://blogs.msdn.com/buckwoody/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/buckwoody/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-11-02T06:28:00Z</updated><entry><title>Quote of the Day – On Having a Purpose</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/20/quote-of-the-day-on-having-a-purpose.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/20/quote-of-the-day-on-having-a-purpose.aspx</id><published>2009-11-20T15:03:33Z</published><updated>2009-11-20T15:03:33Z</updated><content type="html">&lt;p&gt;I try to live by this every day:&lt;/p&gt;  &lt;p&gt;“No one is useless in this world who lightens the burden of another.” – Charles Dickens&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9926231" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>Using Perfmon with SQL Server – Part Two</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/19/using-perfmon-with-sql-server-part-two.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/19/using-perfmon-with-sql-server-part-two.aspx</id><published>2009-11-19T15:17:50Z</published><updated>2009-11-19T15:17:50Z</updated><content type="html">&lt;p&gt;Yesterday I posted a header from a script that shows you some links for how to use “Logman”, a Windows command-line utility that can automate your collection of Windows Performance Monitor counters. Towards the bottom, you can see the logman command I use, and you can see that it points to a counter file for the objects and counters I collect on a regular basis. &lt;/p&gt;  &lt;p&gt;In the script that follows, you’ll see the counters I collect. There are a LOT of caveats to this script – For one, it assumes a Database Named PERF, that you have the same counters I do, and that you’ve collected them into a Comma-Separated Values (CSV) file in the C:\TEMP directory.&lt;/p&gt;  &lt;p&gt;In fact, it’s best if you just read through this script, and understand what is going on rather than trying to run it. Once you understand it, you can create your own structure using the those concepts.&lt;/p&gt;  &lt;p&gt;As always, this is on a test system, know what you’re doing, don’t run with scissors:&lt;/p&gt;  &lt;p&gt;/*&amp;#160;&amp;#160;&amp;#160; Perfmon Example.sql   &lt;br /&gt;Purpose:&amp;#160; Imports Perfmon Data into SQL Server    &lt;br /&gt;Author:&amp;#160;&amp;#160; Buck Woody    &lt;br /&gt;Last Edited: 09/30/2009    &lt;br /&gt;Instructions: Proper Counters must be tracked. See table definition     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; for that structure.    &lt;br /&gt;References:    &lt;br /&gt;You can also automate this: &lt;a href="http://www.mssqltips.com/tip.asp?tip=1776"&gt;http://www.mssqltips.com/tip.asp?tip=1776&lt;/a&gt;     &lt;br /&gt;Another way: &lt;a href="http://www.mssqltips.com/tip.asp?tip=1722"&gt;http://www.mssqltips.com/tip.asp?tip=1722&lt;/a&gt;    &lt;br /&gt;Counters to include: &lt;a href="http://sqlblog.com/blogs/kevin_kline/archive/2008/03/28/the-most-important-performance-monitor-counters-for-sql-server.aspx"&gt;http://sqlblog.com/blogs/kevin_kline/archive/2008/03/28/the-most-important-performance-monitor-counters-for-sql-server.aspx&lt;/a&gt;    &lt;br /&gt;Interpretations: &lt;a href="http://www.extremeexperts.com/SQL/Articles/SQLCounters.aspx"&gt;http://www.extremeexperts.com/SQL/Articles/SQLCounters.aspx&lt;/a&gt;    &lt;br /&gt;More Interpretations: &lt;a href="http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx"&gt;http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx&lt;/a&gt;    &lt;br /&gt;*/&lt;/p&gt;  &lt;p&gt;/*    &lt;br /&gt;Logman automation - Comes with Windows OS:    &lt;br /&gt;logman /?    &lt;br /&gt;logman create /?    &lt;br /&gt;logman start /?    &lt;br /&gt;logman stop /?    &lt;br /&gt;logman start &amp;quot;SQL Server Counters&amp;quot;     &lt;br /&gt;*/&lt;/p&gt;  &lt;p&gt;USE PERF;   &lt;br /&gt;GO&lt;/p&gt;  &lt;p&gt;/* Clean up if desired    &lt;br /&gt;DROP TABLE PerfmonCounters    &lt;br /&gt;End Clean Up */&lt;/p&gt;  &lt;p&gt;CREATE TABLE PerfmonCounters (   &lt;br /&gt;DateCollected VARCHAR (55)    &lt;br /&gt;, Processor_Total_Percent_Processor_Time varchar (100)    &lt;br /&gt;, PhysicalDisk_Total_Average_Disk_Bytes_Write varchar (100)    &lt;br /&gt;, PhysicalDisk_Total_Average_Disk_Bytes_Read varchar (100)    &lt;br /&gt;, PhysicalDisk_Total_Average_Disk_Queue_Length varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Transactions_Longest_Transaction_Running_Time varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_SQL_Statistics_SQL_ReCompilations_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_SQL_Statistics_SQL_Compilations_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Memory_Manager_Total_Server_Memory_KB varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Memory_Manager_Target_Server_Memory_KB varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_Logouts_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_Transactions varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_User_Connections varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_Active_Temp_Tables varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_Logins_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_General_Statistics_Processes_blocked varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Databases_Total_Transactions_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Databases_Total_Data_File_Size_KB varchar (100)&amp;#160; &lt;br /&gt;, MSSQL_SQL2K8_Databases_Total_Backup_Restore_Throughput_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Databases_Total_Active_Transactions varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Buffer_Manager_Buffer_cache_hit_ratio varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Access_Methods_Page_Splits_sec varchar (100)    &lt;br /&gt;, MSSQL_SQL2K8_Access_Methods_Full_Scans_sec varchar (100)     &lt;br /&gt;, Memory_Percent_Committed_Bytes_In_Use varchar (100)    &lt;br /&gt;, Memory_Available_MBytes varchar (100)    &lt;br /&gt;, Memory_Cache_Faults_sec varchar (100)    &lt;br /&gt;)&lt;/p&gt;  &lt;p&gt;/* Import */   &lt;br /&gt;BULK INSERT PerfmonCounters    &lt;br /&gt;FROM 'C:\TEMP\\ImportMe.csv'    &lt;br /&gt;WITH (FIELDTERMINATOR = ',',    &lt;br /&gt;&amp;#160;&amp;#160; ROWTERMINATOR = '\n')    &lt;br /&gt;GO&lt;/p&gt;  &lt;p&gt;/* Analysis */   &lt;br /&gt;SELECT&amp;#160; CONVERT(DATETIME, [DateCollected]) AS 'DateAndTimeCollected'    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; , CONVERT (NUMERIC(20,10), [Processor_Total_Percent_Processor_Time]) AS 'Processor_Total_Percent_Processor_Time'    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[PhysicalDisk_Total_Average_Disk_Bytes_Write]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[PhysicalDisk_Total_Average_Disk_Bytes_Read]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[PhysicalDisk_Total_Average_Disk_Queue_Length]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Transactions_Longest_Transaction_Running_Time]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_SQL_Statistics_SQL_ReCompilations_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_SQL_Statistics_SQL_Compilations_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Memory_Manager_Total_Server_Memory_KB]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Memory_Manager_Target_Server_Memory_KB]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_Logouts_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_Transactions]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_User_Connections]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_Active_Temp_Tables]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_Logins_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_General_Statistics_Processes_blocked]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Databases_Total_Transactions_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Databases_Total_Data_File_Size_KB]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Databases_Total_Backup_Restore_Throughput_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Databases_Total_Active_Transactions]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Buffer_Manager_Buffer_cache_hit_ratio]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Access_Methods_Page_Splits_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[MSSQL_SQL2K8_Access_Methods_Full_Scans_sec]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[Memory_Percent_Committed_Bytes_In_Use]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[Memory_Available_MBytes]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ,[Memory_Cache_Faults_sec]    &lt;br /&gt;&amp;#160; FROM [MDW].[dbo].[PerfmonCounters]    &lt;br /&gt;GO&lt;/p&gt;  &lt;p&gt;-- Specific Analysis&lt;/p&gt;  &lt;p&gt;SELECT   &lt;br /&gt;&amp;#160; AVG(CONVERT (NUMERIC(20,10), [Processor_Total_Percent_Processor_Time])) AS 'Average'    &lt;br /&gt;, STDEV(CONVERT (NUMERIC(20,10), [Processor_Total_Percent_Processor_Time])) AS 'Standard_Deviation'    &lt;br /&gt;, MAX(CONVERT (NUMERIC(20,10), [Processor_Total_Percent_Processor_Time])) AS 'Maximum_Processor'    &lt;br /&gt;, MIN(CONVERT (NUMERIC(20,10), [Processor_Total_Percent_Processor_Time])) AS 'Minimum_Processor'    &lt;br /&gt;FROM [MDW].[dbo].[PerfmonCounters]    &lt;br /&gt;GO&lt;/p&gt;  &lt;p&gt;/* End Perfmon Example.sql */&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9925458" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="T-SQL" scheme="http://blogs.msdn.com/buckwoody/archive/tags/T-SQL/default.aspx" /><category term="Walkthroughs" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Walkthroughs/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Scripts" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Scripts/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Performance Tuning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Performance+Tuning/default.aspx" /></entry><entry><title>Using Perfmon with SQL Server – Part One</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/18/using-perfmon-with-sql-server-part-one.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/18/using-perfmon-with-sql-server-part-one.aspx</id><published>2009-11-18T16:34:00Z</published><updated>2009-11-18T16:34:00Z</updated><content type="html">&lt;P&gt;I held a workshop on performance tuning in Portland, Oregon yesterday, and as part of that I mentioned a process I follow for automatically collecting Performance Monitor Counters for a system. I use this data to store a baseline and then subsequently to have a reference set of data to compare with. &lt;/P&gt;
&lt;P&gt;I use the &lt;STRONG&gt;&lt;EM&gt;logman&lt;/EM&gt;&lt;/STRONG&gt; feature in the operating system, and I had some references there in my script, and I promised I would post the comments block at the top of the script. &lt;/P&gt;
&lt;P&gt;Tomorrow I’ll post how I use the CSV file this collects and import it into SQL Server for analysis:&lt;/P&gt;
&lt;P&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; Perfmon Example.sql &lt;BR&gt;Purpose:&amp;nbsp; Imports Perfmon Data into SQL Server &lt;BR&gt;Author:&amp;nbsp;&amp;nbsp; Buck Woody &lt;BR&gt;Last Edited: 09/30/2009 &lt;BR&gt;Instructions: Proper Counters must be tracked. See table definition &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for that structure. &lt;BR&gt;References: &lt;BR&gt;You can also automate this: &lt;A href="http://www.mssqltips.com/tip.asp?tip=1776" mce_href="http://www.mssqltips.com/tip.asp?tip=1776"&gt;http://www.mssqltips.com/tip.asp?tip=1776&lt;/A&gt; &lt;BR&gt;Another way: &lt;A href="http://www.mssqltips.com/tip.asp?tip=1722" mce_href="http://www.mssqltips.com/tip.asp?tip=1722"&gt;http://www.mssqltips.com/tip.asp?tip=1722&lt;/A&gt; &lt;BR&gt;Counters to include: &lt;A href="http://sqlblog.com/blogs/kevin_kline/archive/2008/03/28/the-most-important-performance-monitor-counters-for-sql-server.aspx" mce_href="http://sqlblog.com/blogs/kevin_kline/archive/2008/03/28/the-most-important-performance-monitor-counters-for-sql-server.aspx"&gt;http://sqlblog.com/blogs/kevin_kline/archive/2008/03/28/the-most-important-performance-monitor-counters-for-sql-server.aspx&lt;/A&gt; &lt;BR&gt;Interpretations: &lt;A href="http://www.extremeexperts.com/SQL/Articles/SQLCounters.aspx" mce_href="http://www.extremeexperts.com/SQL/Articles/SQLCounters.aspx"&gt;http://www.extremeexperts.com/SQL/Articles/SQLCounters.aspx&lt;/A&gt; &lt;BR&gt;More Interpretations: &lt;A href="http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx" mce_href="http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx"&gt;http://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx&lt;/A&gt; &lt;BR&gt;*/&lt;/P&gt;
&lt;P&gt;/* &lt;BR&gt;Logman automation - Comes with Windows OS: &lt;BR&gt;logman /? &lt;BR&gt;logman create /? &lt;BR&gt;logman start /? &lt;BR&gt;logman stop /?&lt;/P&gt;
&lt;P&gt;This one uses a file I have called “SQL Server Counters” – more on that later &lt;BR&gt;logman start "SQL Server Counters" &lt;BR&gt;*/&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9924358" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Performance Tuning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Performance+Tuning/default.aspx" /><category term="Windows 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Windows+2008/default.aspx" /></entry><entry><title>Channeling Bruce Lee: Tuning without Tuning</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/17/channeling-bruce-lee-tuning-without-tuning.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/17/channeling-bruce-lee-tuning-without-tuning.aspx</id><published>2009-11-17T15:03:34Z</published><updated>2009-11-17T15:03:34Z</updated><content type="html">&lt;p&gt;I’m leading a Performance Tuning workshop here in Portland, Oregon today, and I normally start this kind of workshop with a segment on “pre-tuning” – or, the steps you take so that you don’t have to tune as much later. &lt;/p&gt;  &lt;p&gt;When we set up a system is the greatest opportunity for optimal performance. From buying the right hardware (like using 64-bit architectures) to configuring the drive offset, stripe and block size, to installing the proper version and edition of the Operating System and SQL Server, you’ll never have a more impactful chance to make things go fast. &lt;/p&gt;  &lt;p&gt;That goes for you, too, developers. Unit and Integration tests are the times to find out how your code is working, and there’s little pain in fixing it in the design compared to once it’s in production. You’ll find the fastest work is that which you don’t have to do – don’t use SELECT *, that kind of thing. Ditto for the database – proper normalization, data types and index choices are key.&lt;/p&gt;  &lt;p&gt;So take Bruce Lee’s advice about fighting: “The best fighting strategy is not to fight.” The best tuning you can do is not to have to do it much at all.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9923602" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Performance Tuning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Performance+Tuning/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="Testing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Testing/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>Color Me Corrected – Will the REAL sysobjects please stand up?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/16/color-me-corrected-will-the-real-sysobjects-please-stand-up.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/16/color-me-corrected-will-the-real-sysobjects-please-stand-up.aspx</id><published>2009-11-16T15:19:48Z</published><updated>2009-11-16T15:19:48Z</updated><content type="html">&lt;p&gt;A few days ago I posted a way to look at the Dynamic Management Views (DMV’s) using a query, which I then copy and paste into the Help viewer’s Index tab to learn more.&lt;/p&gt;  &lt;p&gt;Well, my good friend and Colleague, Cliff, pointed out that I was using the older &lt;font color="#008000"&gt;sysobjects&lt;/font&gt; system table. Well, of course this is a deprecated feature, and not the correct way to reference system objects in newer versions like SQL Server 2005 and higher. &lt;/p&gt;  &lt;p&gt;I did that because I know a lot of you out there are still on SQL Server 2000 (shame on you!), but when he mentioned it I realized I hadn’t included the “correct” way to do this, using &lt;font color="#008000"&gt;sys.system_objects&lt;/font&gt;, which has other benefits. It’s also a more global view, so you don’t have to USE master first, making the code shorter – and shorter code is often better! So here’s the more modern way do that:&lt;/p&gt; &lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;     &lt;p&gt;SELECT&lt;/p&gt;   &lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;'sys.'&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;+&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt; name&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;     &lt;p&gt;FROM&lt;/p&gt;   &lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;sys&lt;/font&gt;&lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;.&lt;/font&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;system_objects&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;     &lt;p&gt;WHERE&lt;/p&gt;   &lt;/font&gt;&lt;font color="#000000" size="2"&gt; name &lt;/font&gt;&lt;font color="#808080" size="2"&gt;&lt;font color="#808080" size="2"&gt;LIKE&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;'dm%';&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;  &lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;GO&lt;/font&gt;      &lt;p&gt;&lt;/p&gt;   &lt;/font&gt;You can also toss in an ORDER BY name clause in there if you want to make the list sort.&lt;/p&gt;  &lt;p&gt;Thanks Cliff - &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9922971" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="T-SQL" scheme="http://blogs.msdn.com/buckwoody/archive/tags/T-SQL/default.aspx" /><category term="Documentation" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Documentation/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Metadata" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Metadata/default.aspx" /><category term="Strings" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Strings/default.aspx" /><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>Quote of the Day: Who Is Normal?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/13/quote-of-the-day-who-is-normal.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/13/quote-of-the-day-who-is-normal.aspx</id><published>2009-11-13T15:24:59Z</published><updated>2009-11-13T15:24:59Z</updated><content type="html">&lt;p&gt;No, this isn’t about third normal form or anything like that:&lt;/p&gt;  &lt;p&gt;“Everyone seems normal until you get to know them.” - &lt;em&gt;Unknown&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921991" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>Store XML Document as Binary, Read as XML</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/12/store-xml-document-as-binary-read-as-xml.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/12/store-xml-document-as-binary-read-as-xml.aspx</id><published>2009-11-12T15:12:19Z</published><updated>2009-11-12T15:12:19Z</updated><content type="html">&lt;p&gt;I had an interesting question the other day, so I thought I would share both the question and the answer.&lt;/p&gt;  &lt;p&gt;We had an older application that had stored an XML document in a table as a binary data type column. I know, I know – we’ve had an XML data type for some time, but not when this app was written. So of course the tables just moved along with the app, even though there was a better way to do it. The question I got was, can I read the binary field as XML, even though it isn’t? &lt;/p&gt;  &lt;p&gt;The answer is: “It Depends”. No, that’s just the answer I always give. In this case, I was able to do it easily. If you want to try a test yourself, just create an XML document in a C:\temp directory (&lt;em&gt;on a test system, your mileage may vary, don’t run with scissors&lt;/em&gt;) and then run this code:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;/* Need a test table to work with */     &lt;br /&gt;CREATE TABLE TestTable(DocumentName varbinary(max)) ;      &lt;br /&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;/* I'll load it up with an XML document, but store that as binary */     &lt;br /&gt;INSERT INTO TestTable(DocumentName)       &lt;br /&gt; SELECT *       &lt;br /&gt; FROM OPENROWSET(BULK N'C:\temp\Test.xml', SINGLE_BLOB) AS Image;      &lt;br /&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;/* Let's see it in text */     &lt;br /&gt;SELECT CAST(TestTable.DocumentName AS varchar(max))      &lt;br /&gt;FROM TestTable;      &lt;br /&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#008000"&gt;/* And in XML*/     &lt;br /&gt;SELECT CAST(TestTable.DocumentName AS XML)      &lt;br /&gt;FROM TestTable;      &lt;br /&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;There are other possible solutions as well. This worked for my situation.   &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9921376" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Scripts" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Scripts/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>How Microsoft Does IT - Updated</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/11/how-microsoft-does-it-updated.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/11/how-microsoft-does-it-updated.aspx</id><published>2009-11-11T15:49:55Z</published><updated>2009-11-11T15:49:55Z</updated><content type="html">&lt;p&gt;I’ve pointed out this link before, and I’ll definitely bring it up again. Microsoft is one of the few companies I know, especially the big ones, that explains how they run their IT. We have a fantastic, I mean really fantastic site that you should definitely check out. Can save you lots of time, and is like free consulting. &lt;/p&gt;  &lt;p&gt;You can find it here: &lt;a href="http://technet.microsoft.com/en-us/library/bb687780.aspx"&gt;http://technet.microsoft.com/en-us/library/bb687780.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9920858" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Documentation" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Documentation/default.aspx" /><category term="Web" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Web/default.aspx" /><category term="Help" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Help/default.aspx" /><category term="Management" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Management/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Career" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Career/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="Microsoft" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Microsoft/default.aspx" /><category term="Links" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Links/default.aspx" /><category term="Disaster Recovery" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Disaster+Recovery/default.aspx" /><category term="Best Practices" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Best+Practices/default.aspx" /></entry><entry><title>Visio Video (killed the radio star)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/10/visio-video-killed-the-radio-star.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/10/visio-video-killed-the-radio-star.aspx</id><published>2009-11-10T15:18:40Z</published><updated>2009-11-10T15:18:40Z</updated><content type="html">&lt;p&gt;I teach a class at the University of Washington, and in that class I have the students create a few Entity Relationship Diagrams (ERDs). I’m still looking for a decent tool to do that, since the only ones I know that do a good job are WAY too expensive. Visio is about the best I’ve found for them, and one of the students sent me a link he found for learning and using Visio – very nice. Thanks, Rod!&lt;/p&gt;  &lt;p&gt;&lt;span style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color: black; font-size: 10pt; mso-fareast-font-family: &amp;#39;Times New Roman&amp;#39;; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;a href="http://www.youtube.com/watch?v=1BYt3wmkgXE&amp;amp;feature=related" target="_blank"&gt;&lt;span style="mso-bidi-font-family: arial"&gt;&lt;u&gt;&lt;font color="#0000ff" face="Times New Roman"&gt;http://www.youtube.com/watch?v=1BYt3wmkgXE&amp;amp;feature=related&lt;/font&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;      &lt;br style="mso-special-character: line-break" /&gt;      &lt;br style="mso-special-character: line-break" /&gt; By the way, Visio Team – it’s a crime that I have to install all of Enterprise Architect just to get an ERD tool. Break it out of there into it’s own SKU!&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9920184" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Tutorials" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tutorials/default.aspx" /><category term="Web" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Web/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /></entry><entry><title>Create an Excel Graph of your Big Tables – with PowerShell!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/09/create-an-excel-graph-of-your-big-tables-with-powershell.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/09/create-an-excel-graph-of-your-big-tables-with-powershell.aspx</id><published>2009-11-09T14:54:43Z</published><updated>2009-11-09T14:54:43Z</updated><content type="html">&lt;p&gt;I showed a demo of how to find the top ten tables in the database at the PASS Conference. Here’s that script – you’ll need to fix the server name, instance name, and database name. You can use this to display any numbers – and even more. The mind reels with the possibilities. This uses the PowerShell provider from SQL Server 2008 (sqlps.exe) but works against 2005 and even 2000 Instances.&lt;/p&gt;  &lt;p&gt;Oh, you have to have Excel Installed, of course! All the usual caveats apply – use a test server, know what you’re doing and all that:&lt;/p&gt;  &lt;p&gt;# Big Tables to Excel Chart&lt;/p&gt;  &lt;p&gt;# Keep this next part on one line… This gets your objects to put in the chart&lt;/p&gt;  &lt;p&gt;$BigTables= DIR SQLSERVER:\SQL\UNIVAC\DEFAULT\Databases\Adventureworks\Tables | sort-Object -Property RowCount -desc | select-Object -First 10&lt;/p&gt;  &lt;p&gt;$excel = new-object -comobject excel.application&lt;/p&gt;  &lt;p&gt;$excel.visible = $true&lt;/p&gt;  &lt;p&gt;$chartType = &amp;quot;microsoft.office.interop.excel.xlChartType&amp;quot; -as [type]&lt;/p&gt;  &lt;p&gt;$workbook = $excel.workbooks.add()&lt;/p&gt;  &lt;p&gt;$workbook.WorkSheets.item(1).Name = &amp;quot;BigTables&amp;quot;&lt;/p&gt;  &lt;p&gt;$sheet = $workbook.WorkSheets.Item(&amp;quot;BigTables&amp;quot;)&lt;/p&gt;  &lt;p&gt;$x = 2&lt;/p&gt;  &lt;p&gt;$sheet.cells.item(1,1) = &amp;quot;Schema Name&amp;quot;&lt;/p&gt;  &lt;p&gt;$sheet.cells.item(1,2) = &amp;quot;Table Name&amp;quot;&lt;/p&gt;  &lt;p&gt;$sheet.cells.item(1,3) = &amp;quot;RowCount&amp;quot;&lt;/p&gt;  &lt;p&gt;Foreach($BigTable in $BigTables)&lt;/p&gt;  &lt;p&gt;{&lt;/p&gt;  &lt;p&gt;$sheet.cells.item($x,1) = $BigTable.Schema&lt;/p&gt;  &lt;p&gt;$sheet.cells.item($x,2) = $BigTable.Name&lt;/p&gt;  &lt;p&gt;$sheet.cells.item($x,3) = $BigTable.RowCount&lt;/p&gt;  &lt;p&gt;$x++&lt;/p&gt;  &lt;p&gt;} &lt;/p&gt;  &lt;p&gt;$range = $sheet.usedRange&lt;/p&gt;  &lt;p&gt;$range.EntireColumn.AutoFit()&lt;/p&gt;  &lt;p&gt;$workbook.charts.add()&lt;/p&gt;  &lt;p&gt;$workbook.ActiveChart.SetSourceData($range)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9919538" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="PowerShell" scheme="http://blogs.msdn.com/buckwoody/archive/tags/PowerShell/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>Quote of the Day – The Definition of an Expert</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/06/quote-of-the-day-the-definition-of-an-expert.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/06/quote-of-the-day-the-definition-of-an-expert.aspx</id><published>2009-11-06T14:50:42Z</published><updated>2009-11-06T14:50:42Z</updated><content type="html">&lt;p&gt;I’ve been at the PASS conference this week, and I’ve been around a lot of really smart Experts – and this definition definitely fits:&lt;/p&gt;  &lt;p&gt;&lt;font color="#800000"&gt;An expert is someone who knows some of the worst mistakes that can be made in their subject, and how to avoid them. - &lt;em&gt;Werner Karl Heisenberg&lt;/em&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918606" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="Quote Of The Day" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Quote+Of+The+Day/default.aspx" /></entry><entry><title>Learning New Tech on SQL Server Virtualization – From Vendors</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/05/learning-new-tech-on-sql-server-virtualization-from-vendors.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/05/learning-new-tech-on-sql-server-virtualization-from-vendors.aspx</id><published>2009-11-05T17:58:19Z</published><updated>2009-11-05T17:58:19Z</updated><content type="html">&lt;p&gt;I’m at PASS this year, and one of the things I’ve learned this time is that I can learn from – the vendors!&amp;#160; Most of the “big” names are here, like Idera, Redgate, Quest, and more, but I ran into some folks yesterday I hadn’t spoken with before – XKoto. &lt;/p&gt;  &lt;p&gt;I’m actually surprised I hadn’t run into them earlier. I talk with folks all the time about virtualizing, which should really be a conversation around consolidation, and the XKoto folks have an incredible product that handles scale-out in a new way. Check them out: &lt;a title="http://www.xkoto.com/" href="http://www.xkoto.com/"&gt;http://www.xkoto.com/&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Looks like even and old dog can learn some new tricks…&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9918102" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="Computing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Computing/default.aspx" /><category term="Disaster Recovery" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Disaster+Recovery/default.aspx" /></entry><entry><title>Find and learn DMVs</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/04/find-and-learn-dmvs.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/04/find-and-learn-dmvs.aspx</id><published>2009-11-04T16:04:57Z</published><updated>2009-11-04T16:04:57Z</updated><content type="html">&lt;p&gt;This morning I showed how I find DMVs, and find out how to use them. First, I just run this query:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;USE MASTER;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;GO&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;SELECT ‘sys.’ + name&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;FROM sys.sysobjects&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000"&gt;WHERE name LIKE ‘dm%’&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Then I copy and paste a result into the “Index” panel of Books Online. I also use a web search to learn more.&lt;/p&gt;  &lt;p&gt;I also use the new Activity Monitor, and just hover over a column header in that tool – Microsoft tells you what DMV they are using (if they are using one) and even a little about it. How cool is that!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9917366" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Documentation" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Documentation/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Performance Tuning" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Performance+Tuning/default.aspx" /><category term="Conferences" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Conferences/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /></entry><entry><title>DBA? No – Data Professionals</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/03/dba-no-data-professionals.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/03/dba-no-data-professionals.aspx</id><published>2009-11-03T16:24:29Z</published><updated>2009-11-03T16:24:29Z</updated><content type="html">&lt;p&gt;I’m here at the Professional Association for SQL Server (PASS) this week, and I’m here in the keynote. A few days ago I ranted about the fact that DBA should be a Data Professional – not an administrator. I’ve heard a lot of response about that blog – and all were in support.&lt;/p&gt;  &lt;p&gt;And now here at PASS, what is the theme? Taking a strategic approach, and being professional. w00t! Have we turned the corner? Are other folks realizing that you hold the keys to the kingdom when you’re the DBA? I think so. We’re getting there…&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916820" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Career" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Career/default.aspx" /></entry><entry><title>Win7 – Install SQL Server Native or go Virtual PC?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/buckwoody/archive/2009/11/02/win7-install-sql-server-native-or-go-virtual-pc.aspx" /><id>http://blogs.msdn.com/buckwoody/archive/2009/11/02/win7-install-sql-server-native-or-go-virtual-pc.aspx</id><published>2009-11-02T14:28:00Z</published><updated>2009-11-02T14:28:00Z</updated><content type="html">&lt;P&gt;I have Windows 7 on my laptop, and I also teach, demo and use SQL Server 2005 and SQL server 2008. Should I install this “native” on my outside operating system or use the Virtual PC (VPC) software that comes with Windows 7? Well, there are arguments for each.&lt;/P&gt;
&lt;P&gt;It’s far simpler to start up SQL Server Management Studio (SSMS) or Business Information Development Studio (BIDS) without having to do anything else on my system. Point: outside operating system. And I can install the developer edition of SQL Server 2005 and 2008 with no trouble on Windows 7. Point: outside operating system.&lt;/P&gt;
&lt;P&gt;Using a VPC images lets me install a server-level operating system, SQL Server 2000, 2005 and 2008. That lets me more closely replicate my true production environment. I can also install other things I want on the image and not “pollute” my outside operating system. I can copy the VPC file elsewhere, set recovery points to try something and then “roll it back” to a previous state (very helpful with service packs!) and I can upgrade the VPC to Hyper-V. Point(s): VPC.&lt;/P&gt;
&lt;P&gt;So here’s what I do: I have all of the client tools on my PC, along with an Instance of SQL Server Express. But for the most part I use a VPC, for all of the reasons above. It’s the best of both worlds.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9916139" width="1" height="1"&gt;</content><author><name>Buck Woody - MSFT</name><uri>http://blogs.msdn.com/members/Buck+Woody+-+MSFT.aspx</uri></author><category term="SSMS" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SSMS/default.aspx" /><category term="Developer" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Developer/default.aspx" /><category term="DBA" scheme="http://blogs.msdn.com/buckwoody/archive/tags/DBA/default.aspx" /><category term="Development" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Development/default.aspx" /><category term="SQL Server" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server/default.aspx" /><category term="Administration" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Administration/default.aspx" /><category term="Design" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Design/default.aspx" /><category term="SQL Server Management Studio" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+Management+Studio/default.aspx" /><category term="Computing" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Computing/default.aspx" /><category term="SQL Server 2008" scheme="http://blogs.msdn.com/buckwoody/archive/tags/SQL+Server+2008/default.aspx" /><category term="Tips" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Tips/default.aspx" /><category term="Virtualization" scheme="http://blogs.msdn.com/buckwoody/archive/tags/Virtualization/default.aspx" /></entry></feed>