<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://community.winsupersite.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>IT Pro Tips : SQL Server 2008</title><link>http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx</link><description>Tags: SQL Server 2008</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Plan Freezing with SQL Server 2008</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/21/plan-freezing-with-sql-server-2008.aspx</link><pubDate>Fri, 21 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:12156</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=12156</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/21/plan-freezing-with-sql-server-2008.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;With the advent of SQL Server 2008, many DBAs worry about issues that sometimes arise with updating query plans during the upgrade process. Plan Freezing allows you to store plan guides, which can be reverted to if queries either fail or drain resources after the upgrade. Plan Freezing allows stability to queries and comes with several monitoring features to check if the query succeeded or failed.&lt;/p&gt;
&lt;p&gt;In the &lt;a class="" href="http://go.microsoft.com/?linkid=8368046" target="_blank"&gt;TechNet Virtual Lab: Plan Freezing with SQL Server 2008&lt;/a&gt; we will see how to prevent query plan regression after a server upgrade, use plan freezing to optimize query performance, and copy query plans between servers. Before proceeding with the lab, Microsoft suggests that you be familiar with the SQL Server Management Studio (SSMS) and with Transact- SQL (T-SQL) Programming.&lt;/p&gt;
&lt;p&gt;This virtual lab will teach us to:&lt;/p&gt;
&lt;ul&gt;Prevent Query Plan Regression&lt;/ul&gt;
&lt;ul&gt;Optimize Query Performance&lt;/ul&gt;
&lt;ul&gt;Copy Query Plans between Servers&lt;/ul&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-element:para-border-div;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Within the console, there are text instructions for each exercise.&amp;nbsp; These contain copy commands for the T-SQL programming to simplify the tasks.&amp;nbsp; Just copy and choose &amp;quot;paste text from host&amp;#39;s clipboard&amp;quot; from the action menu in the console.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the first exercise, we will generate a plan script onto a test server, deploy the script to a production server, verify the query plan on the production server, and finally, generate a database clone.&lt;/p&gt;
&lt;p&gt;We can see how plans are disabled…&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%201.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%201.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;And then enabled again for the CustomerSales Script…&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%202.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%202.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the second exercise, we run mission critical queries and create plan guides for them, inspect the execution plan of the guide, remove records and confirm that the same execution plan is being used, and then we will disable the plan.&lt;/p&gt;
&lt;p&gt;You can see the results of the execution plan in Exercise 2:&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;In addition, you will compare the three results to see what has changed in each scenario.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%204.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%204.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 3&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In our final exercise, we generate a plan script on a test server, deploy it to a production server, verify the query plan is on the production server, and finally, generate a database clone.&lt;/p&gt;
&lt;p&gt;We see in Exercise 3 how to copy plans from a test server to a production server.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%205.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%205.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Finally, we clone the database, and the lab ends with us seeing the successful results of our work.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%206.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/planfreezewithSQLServ/Image%206.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;&lt;a class="" href="http://go.microsoft.com/?linkid=8368046" target="_blank"&gt;Plan Freezing with SQL Server 2008&lt;/a&gt; is a great Virtual Lab to see how to optimize query plans, move them from test server to production servers, and finally clone the plans amidst several SQL Servers if needed. I hate to admit it because most times I have to deal with T-SQL it is never much fun, but I enjoyed this lab a lot and would recommend that it is worth the time to get an overview of Plan Freezing whether it is your primary role to handle this job function or not.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=12156" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Working with Pipelines </title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/19/working-with-pipelines.aspx</link><pubDate>Wed, 19 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:12034</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=12034</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/19/working-with-pipelines.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By David Chernicoff&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;TechNet Virtual Lab: &lt;a class="" href="http://go.microsoft.com/?linkid=7970861" target="_blank"&gt;Working with Pipelines&lt;/a&gt;&amp;nbsp;does a good job of pulling the covers off of some basic BizTalk functionality by walking the user through the process of configuring Biztalk and setting up a custom pipeline.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/workwithpipe/pipe1.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/workwithpipe/pipe1.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;By providing the bulk of the project in predefined form, Microsoft enables the user to walk through the process of building and deploying the project easily within the time constraints of a 60 minute Virtual Lab. The user works with both Visual Studio and Biztalk Server administration in the course of the lab.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/workwithpipe/pipe2.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/workwithpipe/pipe2.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;The information presented in TechNet Virtual Lab: &lt;a class="" href="http://go.microsoft.com/?linkid=7970861" target="_blank"&gt;Working with Pipelines&lt;/a&gt;&amp;nbsp;demystifies the complexities often associated with using BizTalk server and implementing pipelines.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: If the automated actions in Visual Studio fail, the manual has instructions for doing the tasks manually, which actually manages to give the user a better understanding of what is going on. &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=12034" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008 Analysis Services: Delivering Analysis Services Capabilities through Microsoft Office</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/18/sql-server-2008-analysis-services-delivering-analysis-services-capabilities-through-microsoft-office.aspx</link><pubDate>Tue, 18 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:12032</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=12032</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/18/sql-server-2008-analysis-services-delivering-analysis-services-capabilities-through-microsoft-office.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Yet again another virtual lab title which had me thinking “That’s a mouthful”, but one must admit the idea of using Analysis Services in Office is in itself a great motivator for moving forward with this lab. Anytime you can move data from the SQL Server and into users’ hands via a product like Microsoft Excel, it’s bound to be a worthwhile thing to learn.&lt;/p&gt;
&lt;p&gt;This Virtual Lab titled &lt;a class="" href="http://go.microsoft.com/?linkid=8368044" target="_blank"&gt;TechNet Virtual Lab: SQL Server 2008 Analysis Services- Delivering Analysis Services Capabilities through Microsoft Office&lt;/a&gt; will take about 30 to 45 minutes to complete (Microsoft says the lab is 45 min.), but if you already have a good understanding of pivot tables and Analysis Services you can move through it a bit quicker. This lab suggests you have familiarity with Excel functionality (in particular Excel 2007 and the new ribbon navigation bar). In addition, Microsoft suggests that you be familiar with Analysis Services concepts and terminology.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: If you need some additional help with Analysis Services, there is a great article in the &lt;a class="" href="http://www.windowsitlibrary.com/Content/1646/01/1.html" target="_blank"&gt;Windows IT Library for SQL 2005&lt;/a&gt; that introduces both the changes in terminology from SQL 2000 and a good overview of terms you need to understand. Just follow the link above.&amp;nbsp; It&amp;#39;s worth the 10 minute read.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;In this lab, we will go through three exercises:&lt;/p&gt;
&lt;ol&gt;1. Working with Analysis Services Data through Microsoft Excel 2007&lt;/ol&gt;
&lt;ol&gt;2. Using OLAP Formulae in Excel&lt;/ol&gt;
&lt;ol&gt;3. Adding a KPI to a SharePoint Web Page&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So let’s begin by looking at the demo of working with Analysis Services data through Excel. This exercise takes us through the process of connecting to Analysis Data, creating and browsing Pivot Tables and Pivot Charts, and adding KPI’s using an action in Pivot Tables and finally connecting a perspective.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%201.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%201.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;As you go through the exercises, it becomes very apparent how easy it is to manipulate the data and drill down to see cross sections of information. This information is easily moved to a secondary worksheet and transformed into a Pivot Chart for a visual representation of the numbers, and just as easily, KPI’s can be added to track performance indicators.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%202.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%202.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Next we look at Using OLAP formulae in Excel. Here we complete several tasks including, creating a connection to the Analysis Services Cube, creating a report by entering Formulae into workbook cells, sorting the data, and lastly, converting Pivot Tables to Formulas.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Once we have seen how to enter formulae into workbook cells, we look at how to convert Pivot Tables to formulas in Excel.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Do not ignore the request to save the Excel files in the Exercise 2.&amp;nbsp; These files will be required for the last set of exercises.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%204.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%204.JPG" border="0" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Exercise 3&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In our final exercise, we look at how to upload KPI data to a SharePoint Website. To do this we will need to perform the following tasks:&lt;/p&gt;
&lt;p&gt;Upload an Office Data Connection file to a SharePoint site; Create a KPI List; Add a KPI to the KPI List; and for the final task, add a Web Part to a web page for display of the KPI List.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%205.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%205.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Once the data connection is established, the exercise walks us through setting up the KPI’s for the SharePoint Site.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%206.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/DeliveringAnalysisServ/Image%206.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Finally the lab ends with a view of the KPI in the SharePoint site.&lt;/p&gt;
&lt;p&gt;This lab was a great way to either learn or refresh you on dealing with Pivot Tables, Formulas, and KPI’s within Excel. The &lt;a class="" href="http://go.microsoft.com/?linkid=8368044" target="_blank"&gt;Delivering Analysis Services Capabilities through Microsoft Office&lt;/a&gt; lab gives us a great look at how Analysis Services can be used to deliver reporting and analysis capabilities to end users using the very familiar Microsoft Excel spreadsheet software to empower users to create, edit and publish effective information for your organization.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=12032" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008: X-Event Infrastructure</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/13/sql-server-2008-x-event-infrastructure.aspx</link><pubDate>Thu, 13 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:11975</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=11975</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/13/sql-server-2008-x-event-infrastructure.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A new feature of SQL Server 2008 is the SQL Extended Events (a.k.a. the X-Event Infrastructure), while event reporting is not a new feature in SQL Server products. X-Event is an exciting new event infrastructure that allows for detailed traces of what is happening within the SQL Server. X-Event has support for sending events to the Windows, and integrating with system level events.&lt;/p&gt;
&lt;p&gt;The Microsoft SQL Server &lt;a class="" href="http://go.microsoft.com/?linkid=8109210" target="_blank"&gt;TechNet Virtual Lab: X-Event Infrastructure&lt;/a&gt; takes you through four labs focusing on the following SQL operations areas:&lt;/p&gt;
&lt;p&gt;1. Queryable Schema&lt;/p&gt;
&lt;p&gt;2. Procedure &amp;amp; Kernel Analysis&lt;/p&gt;
&lt;p&gt;3. Procedure Usage&lt;/p&gt;
&lt;p&gt;4. Long Running Queries&lt;/p&gt;
&lt;p&gt;The first demonstration shows how X-Event groups metadata into channels and keywords, grouping the results into packages&amp;nbsp;and the objects in the packages.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%201.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%201.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;The next demo takes you through the process of creating a log file that exports results to a .csv file to show how the SQL Server X-Event data is merged into the ETW (Event Tracing for Windows). The demo shows. The results of stored procedures for the SQL Server and Disk IO for the session.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Step J. calls for launching the xeetw.csv file; this link is not immediately seen when running the demo.&amp;nbsp; To locate the file, go to the first pane ( the command line interface), and scroll to the right.&amp;nbsp; You will see the xeetw.csv file.&amp;nbsp; Double clicking will launch the Excel file.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%202.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%202.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The third demo shows the ability to get aggregate results from a query. It also shows how to cross-examine the database for results about bottlenecks and failures, rather than reviewing trace logs. The demo shows how the event sessions are created in the system tables of the database.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Finally we take a look at how we can create and alter statements to get precise results for the events that are considered. We also learn how to filter these results and extend data already collected, along with other available actions.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%204.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/XEventInfrastructure/Image%204.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;This lab was a challenge, but definitely a worthwhile one. It definitely helps to keep your skills sharp. I have worked some with T-SQL in the past, since most of my job has been database management; I have not done tremendous amounts of querying. However I have done tons of analyses of events and traces in order to track a problem and resolve it. The &lt;a class="" href="http://go.microsoft.com/?linkid=8109210" target="_blank"&gt;X-Event Infrastructure&lt;/a&gt; certainly is a great tool for querying and resolving issues in SQL Server 2008. This virtual lab certainly whets the appetite and leaves you wanting to dive deeper into the subject.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=11975" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008 Reporting Services Enhancements: Report Designer, Visualizations, and Tablix</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/12/sql-server-2008-reporting-services-enhancements-report-designer-visualizations-and-tablix.aspx</link><pubDate>Wed, 12 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:11973</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=11973</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/12/sql-server-2008-reporting-services-enhancements-report-designer-visualizations-and-tablix.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When I first saw the title of this virtual lab I thought it would be shorter had they called it “everything but the kitchen sink”. But seriously as daunting as the name sounds, and as difficult as the lab might be deemed based upon the name, the areas covered in the virtual lab all fall under the new enhancements for Reporting Services in SQL Server 2008.&lt;/p&gt;
&lt;p&gt;The new enhancements have been designed to allow non-developers to create detailed and professional reports from within the available SQL data easily. The Report Designer is now a standalone application within SQL Server 2008. As the lab explains, the Report Designer can now be run separately from the Business Intelligence Development Studio. The new application can be used to create purchase orders, invoices, contracts, etc.&lt;/p&gt;
&lt;p&gt;For this SQL Server TechNet Virtual Lab: &lt;a class="" href="http://go.microsoft.com/?linkid=8109211" target="_blank"&gt;Reporting Services Enhancements: Report Designer, Visualizations, and Tablix&lt;/a&gt;, users will go through the exercise of creating:&lt;/p&gt;
&lt;p&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;&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; Templates&lt;/p&gt;
&lt;p&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;&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; Tablix Tables&lt;/p&gt;
&lt;p&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;&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; Charts&lt;/p&gt;
&lt;p&gt;Once you open the Report Designer, you’ll notice the now very familiar Office Ribbon navigation tools.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%201.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%201.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;As you go through the exercise of creating Tablix tables you will notice that Report Designer has many familiar tools for those who may have worked with products like Crystal Reports.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%202.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%202.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: When editing the Value expression, you must remove the ( ) around the expression as well as =Sum.&amp;nbsp; Failure to do so will make step o. of the exercise fail.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Next, we will look at creating charts in the Report Designer.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Step b in the chart task tells you to drag the chart item to the design surface.&amp;nbsp; In the exercise, there was no visible chart item.&amp;nbsp; However, going to the Insert tab and clicking on the chart icon produces the same results.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;The lab shows you several very quick but effective techniques for creating reports and charts with very little data manipulation. In fact, most of the design aspect is simply drag and drop.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/designervisualization/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;The lab continues with very detailed changes to charts and finishes by showing the results of your work within Internet Explorer using the Report Manager Intranet page.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://go.microsoft.com/?linkid=8109211" target="_blank"&gt;Report Designer, Visualizations, and Tablix&lt;/a&gt; is a great lab for both users who need to create reports in SQL Server 2008 and Admins who want to understand what the users need to do to generate reports and how it is they can better support them through the process.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=11973" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008: Change Data Capture</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/11/change-data-capture.aspx</link><pubDate>Tue, 11 Mar 2008 05:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:11838</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=11838</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/03/11/change-data-capture.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The dynamic nature of databases, and in particular data warehouses, calls for a method of updating, inserting and deleting activity in a SQL server table. But change data capture is not only about the physical change of the database, it is about the ability to report on and track these changes. Change Data Capture is part of a suite of tools used in SQL Server 2008 to accomplish that goal.&lt;/p&gt;
&lt;p&gt;The Microsoft SQL Server &lt;a class="" href="http://go.microsoft.com/?linkid=8109212" target="_blank"&gt;TechNet Virtual Lab: Change Data Capture (CDC)&lt;/a&gt; takes the user through the process of simulating an Integration Services package. The lab manual explains the scenario of the CDC exercise and lets you know before you begin what each element is accomplishing during the lab.&lt;/p&gt;
&lt;p&gt;The virtual lab begins by launching the Change Data Capture file via Windows explorer. The files resides in C:\SQL Server 2008 Demo Files\Intelligent Platform\Change Data Capture\CDCSample2.sln&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Although this tool is used to track changes in SQL Server, this exercise takes place with Microsoft Visual Studio.&amp;nbsp; It is important to make sure you completely read the&amp;nbsp;scenario to understand what is happening in the exercise.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%201.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%201.JPG" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Once you double click the file, Microsoft Visual Studio opens up in the solutions explorer. You want to be sure to choose &amp;quot;SetupCDCSample.dtsx&amp;quot;.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/image%202.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/image%202.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Once you choose the debug file, the system will being the debug process. It takes about 30- 40 seconds for the first Data Viewer to appear.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Finally you click the detach button and the process will run through some changes. When the next data viewer appears, you can see the changes made to the Customer ID 696.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%204.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/March%202008/changedatacapture/Image%204.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Overall this was a quick and interesting lab. Although it took only 30 minutes (between reading the manual and running the tests twice), the &lt;a class="" href="http://go.microsoft.com/?linkid=8109212" target="_blank"&gt;Change Data Capture&lt;/a&gt; lab certainly gave a good illustration of what a live scenario could look like and effectively showed how the CDC process works. I particularly enjoyed working within Visual Studio on this lab, which I don’t get to do very often. Bottom-line, this is a great way to start learning about Change Data Capture.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=11838" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008: Declarative Management Framework (DMF)</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/02/29/sql-server-2008-declarative-management-framework-dmf.aspx</link><pubDate>Fri, 29 Feb 2008 06:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:11534</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=11534</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/02/29/sql-server-2008-declarative-management-framework-dmf.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ronald Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Day to day management of SQL Servers can be a time consuming task, especially in large data intensive environments. SQL Server 2008 has introduced a management tool to help alleviate some of the Administrative overhead associated with database management.&lt;/p&gt;
&lt;p&gt;Before we move into the Virtual Lab let’s define what DMF is and then we will look at what the Virtual Lab will teach us. To begin with, Declarative Management Framework (DMF) takes the approach of using polices to manage a database rather than using tasks.&lt;/p&gt;
&lt;p&gt;The Microsoft SQL Server &lt;a class="" href="http://www.go.microsoft.com/?linkid=8109209" target="_blank"&gt;TechNet Virtual Lab: Declarative Management Framework (DMF)&lt;/a&gt; takes the user thru three aspects of DMF. They are:&lt;/p&gt;
&lt;p&gt;1. Policy Enforcement&lt;/p&gt;
&lt;p&gt;2. Monitoring Changes to the System&lt;/p&gt;
&lt;p&gt;3. Creating a Policy / Facets&lt;/p&gt;
&lt;p&gt;Once the Virtual Lab is launched you will see a desktop with the SQL Server Management Studio (SSMS) icon on the desktop. This is where we will be working. The lab manual takes you through the three examples of using DMF.&lt;/p&gt;
&lt;p&gt;Let’s first look at the Policy enforcement exercise:&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%201-1.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%201-1.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;The exercise takes you through the process of trying to create a table in the database. The first one fails, the second succeeds. Then you view the table naming policy to see why you achieved the results to each query.&lt;/p&gt;
&lt;p&gt;In the next exercise we’ll see how to monitor system changes using DMF. To begin the exercise you check the Auto settings of the database.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%202-2.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%202-2.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Next you make changes and go back to check the results.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%203-3.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%203-3.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;As the results quickly show, the policy has been violated on the database. When the policy is first changed, notification is given at the top level of the Database server by flagging the database instance , the database, etc. with a red “X”.&lt;/p&gt;
&lt;p&gt;For the final exercise the lab explains how to set policies and use facets for databases.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%204-4.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/decmanageframe/Image%204-4.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;The exercise finishes by showing you how to test to make sure the applied policy is working correctly.&lt;/p&gt;
&lt;p&gt;This was an interesting lab. It definitely gives DBAs and IT Managers the power to implement controls to not only monitor but even prevent unwanted database changes easily. &lt;a class="" href="http://www.go.microsoft.com/?linkid=8109209" target="_blank"&gt;Declarative Management Framework (DMF)&lt;/a&gt; is a welcome database tool, and this virtual lab is worth the time to get to know how this worthwhile tool works.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=11534" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>SQL Server 2008: Database Mirroring</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/02/28/sql-server-2008-database-mirroring.aspx</link><pubDate>Thu, 28 Feb 2008 06:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:11449</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=11449</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/02/28/sql-server-2008-database-mirroring.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Ron Barrett&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We have reached a point in business where recovery from failures needs to happen in seconds not minutes. When I was an IT Director for a Financial Services firm in NYC, partners would remind me daily that every time the databases for our CRM, Financial Applications or Time and Billing system where down that we would be losing tens of thousands of dollars an hour. I mention this because it has been my experience that the idea of highly available systems only now seems to be taking hold in the SMB market.&lt;/p&gt;
&lt;p&gt;Many enterprises know and acknowledge the need for availability. Sadly even some of these networks run with little or no thought of what happens if the system simply stops working. The nature of today’s business makes it vital to ensure that you can not only continue business, but continue with little to no interruption to the end users.&lt;/p&gt;
&lt;p&gt;Although SQL Server 2008 provides several methods of meeting this goal, Database Mirroring, provides a solution that is easily managed and responds fast to a failover, with zero loss of committed data.&lt;/p&gt;
&lt;p&gt;The Microsoft SQL Server &lt;a class="" href="http://www.go.microsoft.com/?linkid=8109208" target="_blank"&gt;TechNet Virtual Lab: Database Mirroring&lt;/a&gt; takes us through the process in two steps:&lt;/p&gt;
&lt;p&gt;1. Establishing the Mirror&lt;/p&gt;
&lt;p&gt;2. Simulating a Failover&lt;/p&gt;
&lt;p&gt;Unlike some labcasts this lab does not give an overview of the tools you will work with, rather it allows the user to jump right in and begin working. By default it opens the “Database Engine” for “SQL08DEMO”. However, it is important to be sure you’re working on the correct Server Type and Server Name before clicking Connect.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%201.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%201.jpg" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;Once the SQL Server Management Studio is launched, users are faced with three panes: the Object Explorer, Object Explorer Details pane and the Solution Explorer. Resizing the Object Explorer allows for better views of the scripts to be run in the Object Explorer Details pane.&lt;/p&gt;
&lt;p&gt;The lab next takes you through the process of opening and executing the 5 preset scripts. These scripts will setup the Primary, Secondary, and a third “Witness” server to act as a mediator in case of failure to ensure a quick failover response.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Script number 4 and 5 will show an error after they are executed.&amp;nbsp; This is because the Adventureworks database has not been refreshed yet.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;Next you’ll run through setting up the mirror server instance and adding it to the object explorer.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: The lab tells you to go to the registered servers view to find SQL08DEMO\MIRROR.&amp;nbsp; You will first need to add the registered server before it appears in the registered servers.&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%202.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%202.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Finally you need to check that the Secondary database has been created in the mirror database before moving on to the SQL Server Failover Test.&lt;/p&gt;
&lt;p&gt;In the failover test the lab simulates both the failure and failback. The performance monitor shows the simulated load on the systems.&lt;/p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%203.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/February%202008/sqlservdatabasemirror/Image%203.JPG" border="0" alt="" /&gt;&lt;/a&gt; 
&lt;p&gt;This lab, &lt;a class="" href="http://www.go.microsoft.com/?linkid=8109208" target="_blank"&gt;Database Mirroring&lt;/a&gt;,&amp;nbsp;was a quick and fun way to get a grasp on how to prepare your database for high availability. As I said before SQL Server 2008 has several high availability options but as you will learn in this lab, Database Mirroring can be set if needed by a newcomer to SQL Server. There you go; no more excuses for database downtime.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=11449" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Going beyond relational data with SQL Server 2008</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/01/10/it-tips-going-beyond-relational-with-sql-server-2008.aspx</link><pubDate>Thu, 10 Jan 2008 06:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:7053</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=7053</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/01/10/it-tips-going-beyond-relational-with-sql-server-2008.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure5.jpg"&gt;&lt;/a&gt;By&amp;nbsp;Haidong&amp;nbsp;Ji&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SQL Server 2008 will be released in the first half of 2008, about six months from now, so it&amp;#39;s time for me to get a good feel of the new features and enhancements in this exciting new release. Fortunately, Microsoft TechNet provides a series of webcasts to get us started, beginning with&amp;nbsp;&lt;a class="" href="https://www110.livemeeting.com/cc/mseventsbmo/view?id=1032345259&amp;amp;pw=807BDDEC" target="_blank"&gt;Going&amp;nbsp;Beyond&amp;nbsp;Relational Data with Microsoft SQL Server 2008&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One of the exciting features in SQL Server 2008 is its enhancement to manage non-relational data such as documents, image files, and other media data. I can see more usage of this feature as more and more&amp;nbsp;in our lives becomes digitized, and they need to be stored somewhere!&lt;/p&gt;
&lt;p&gt;The presenter really did a good job describing how SQL Server 2008 fits together with other products such as Office Servers, BizTalk, and Visual Studio. You have to watch it yourself to find out more details.  &lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/BeyondSQL2008/TipA1.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure1.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I like how data of all different format and size can be managed using SQL Server 2008, even including geo-spatial data, which can be really useful, especially with today’s ubiquitous presence of mobile technology.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/BeyondSQL2008/TipA2.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure2.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also like the flexibility of being able to store documents and multimedia data in different servers. Once again, you’ve got to watch the webcast yourself to find out some details.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/BeyondSQL2008/TipA4.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure3.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure3.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/BeyondSQL2008/TipA5.JPG"&gt;&lt;/a&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure4.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure4.jpg" border="0" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The presenter then offered further discussion on FILESTREAM and remote BLOB storage.&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-element:para-border-div;mso-border-top-themecolor:accent1;mso-border-left-themecolor:accent1;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: One&amp;nbsp;really neat thing&amp;nbsp;is that you can choose to dedicate all non-relational data on either remote storage or in file system.&lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;The demo on FILESTREAM is really great. Some simple code really demonstrated the power of managing files in the file system.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/BeyondSQL2008/TipA8.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure5.jpg"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008web/Figure5.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I really like the new spatial data support. This new feature has the potential to drastically increase regular user’s experience with your sites or products.&lt;/p&gt;
&lt;p&gt;It is really nice to learn SQL Server 2008’s feature set for non-relational data. The &lt;a class="" href="https://www110.livemeeting.com/cc/mseventsbmo/view?id=1032345259&amp;amp;pw=807BDDEC" target="_blank"&gt;Going&amp;nbsp;Beyond&amp;nbsp;Relational Data with Microsoft SQL Server 2008&lt;/a&gt;&amp;nbsp;webcast is a&amp;nbsp;really quick way to get up to speed in this great new development.&lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=7053" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Performance Monitoring and Troubleshooting with SQL Server 2008</title><link>http://community.winsupersite.com/blogs/itprotips/archive/2008/01/09/performance-monitoring-and-troubleshooting-with-sql-server-2008.aspx</link><pubDate>Wed, 09 Jan 2008 06:01:00 GMT</pubDate><guid isPermaLink="false">a5a28da7-a54a-49cb-8e3d-fb9e7f7597ae:7679</guid><dc:creator>itprotipsadmin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://community.winsupersite.com/blogs/itprotips/rsscomments.aspx?PostID=7679</wfw:commentRss><comments>http://community.winsupersite.com/blogs/itprotips/archive/2008/01/09/performance-monitoring-and-troubleshooting-with-sql-server-2008.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;By Haidong Ji&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &lt;a class="" href="https://www.livemeeting.com/cc/mseventsbmo/view?id=1032349946&amp;amp;role=attend&amp;amp;pw=F56DBFB8" target="_blank"&gt;New Performance Monitoring and Troubleshooting Using Management Studio&lt;/a&gt;&amp;nbsp;webcast&amp;nbsp;gives you a great walkthrough of&amp;nbsp;the new features of SQL Server 2008. SQL Server 2005 introduced Dynamic Management Views (DMVs), which greatly enhanced DBA’s understanding of the internal working of the database engine. Unfortunately, this data will be lost every time SQL Server 2005 instance is bounced. This does not change in SQL Server 2008. However, SQL Server 2008 provides the capabilities to store this data in a database. It also provides various reports to analyze this data for better monitoring and troubleshooting. This webcast really did a good job&amp;nbsp;of demonstrating and educating to&amp;nbsp;end users this great feature.&lt;/p&gt;
&lt;p&gt;The webcast starts off with a clear explanation of the overall performance data collection architecture. I always like to know how different pieces fit together, so the presenter really gives us a good overview here.  &lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/TipB1.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/Figure1.jpg"&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB1.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB1.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Going one step further, the presenter talks about various databases and processes involved in gathering performance data. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/TipB2.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/Figure2.jpg"&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB2.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB2.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The demo is terrific. SQL Server 2005 has great server status reports. SQL Server 2008 really kicks it up a notch. I like how you can collapse and expand, or drill down to details when you like. The demo gives a pretty good understanding of how the reports are related to each other.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/TipB4.JPG"&gt;&lt;/a&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/Figure3.jpg"&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB4.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB4.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pay attention to the demo where Query Plan details were displayed. I know from experience this will be very helpful for performance tuning.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/Figure4.jpg"&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB5.JPG"&gt;&lt;img src="http://community.winsupersite.com/blogs/itprotips/January2007/SQL2008PerfMon/TipB5.JPG" border="0" alt="" /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://community.winsupersite.com/blogs/itprotips/January2007/SQLPerfMon/TipB5.JPG"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div style="BORDER-RIGHT:medium none;PADDING-RIGHT:0in;BORDER-TOP:#4f81bd 1pt solid;PADDING-LEFT:10pt;PADDING-BOTTOM:0in;MARGIN-LEFT:0.9in;BORDER-LEFT:#4f81bd 1pt solid;MARGIN-RIGHT:0.8in;PADDING-TOP:10pt;BORDER-BOTTOM:medium none;mso-element:para-border-div;mso-border-top-themecolor:accent1;mso-border-left-themecolor:accent1;mso-border-top-alt:solid #4F81BD .5pt;mso-border-left-alt:solid #4F81BD .5pt;"&gt;&lt;span style="mso-no-proof:yes;"&gt;&lt;em&gt;&lt;font color="#4f81bd"&gt;&lt;font face="Calibri"&gt;TIP: Use Query Plan Details to get more information on a specific query type, such as times executed, plan changes, etc.&lt;/font&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;I highly recommend the &lt;a class="" href="https://www.livemeeting.com/cc/mseventsbmo/view?id=1032349946&amp;amp;role=attend&amp;amp;pw=F56DBFB8" target="_blank"&gt;New Performance Monitoring and Troubleshooting Using Management Studio&lt;/a&gt;&amp;nbsp;webcast to anybody who is interested in performance tuning and monitoring aspects of SQL Server 2008. &lt;/p&gt;&lt;img src="http://community.winsupersite.com/aggbug.aspx?PostID=7679" width="1" height="1"&gt;</description><category domain="http://community.winsupersite.com/blogs/itprotips/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item></channel></rss>