<?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">SQL Server Premier Field Engineer Posts / Rants..</title><subtitle type="html" /><id>http://blogs.msdn.com/sachinp/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/sachinp/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2007-06-04T10:48:00Z</updated><entry><title>Windows 7: Be first. Save half.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2009/06/25/windows-7-be-first-save-half.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2009/06/25/windows-7-be-first-save-half.aspx</id><published>2009-06-26T07:49:00Z</published><updated>2009-06-26T07:49:00Z</updated><content type="html">&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;Pre-order Windows 7 today at &lt;/FONT&gt;&lt;A title="Microsoft Store" href="http://store.microsoft.com/microsoft/Windows-7/category/102" mce_href="http://store.microsoft.com/microsoft/Windows-7/category/102"&gt;Microsoft Store&lt;/A&gt;&lt;FONT color=#1f497d&gt;. You'll get it for at least half off and be one of the first to get it. Hurry, quantities are limited&lt;STRONG&gt;.*&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;&lt;B&gt;It's pretty simple&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;Windows 7 is coming on October 22, 2009. Here's an easy way to get it fast and save a bundle: Pre-order a Windows 7 Home Premium Upgrade for $49 or a Windows 7 Professional Upgrade for $99 at &lt;/FONT&gt;&lt;A title="Microsoft Store" href="http://store.microsoft.com/microsoft/Windows-7/category/102" mce_href="http://store.microsoft.com/microsoft/Windows-7/category/102"&gt;Microsoft Store&lt;/A&gt;&lt;FONT color=#1f497d&gt;.&amp;nbsp; &amp;nbsp;That's about half off the estimated retail prices. &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;Want more info?&amp;nbsp; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;Go to the &lt;/FONT&gt;&lt;A title="Windows team blog" href="http://windowsteamblog.com/Default.aspx" target=_blank mce_href="http://windowsteamblog.com/Default.aspx"&gt;Windows team blog&lt;/A&gt;&lt;FONT color=#1f497d&gt; and find out all the details.&amp;nbsp; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="MARGIN: 0px"&gt;&lt;FONT size=2 face=Calibri,sans-serif&gt;&lt;SPAN style="FONT-SIZE: 11pt"&gt;&lt;FONT color=#1f497d&gt;&lt;STRONG&gt;*&lt;/STRONG&gt; The offer begins on &lt;STRONG&gt;June 26, 2009&lt;/STRONG&gt; and will continue while supplies last, or until &lt;STRONG&gt;July 11, 2009&lt;/STRONG&gt;, whichever comes first.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9804780" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="Windows 7" scheme="http://blogs.msdn.com/sachinp/archive/tags/Windows+7/default.aspx" /></entry><entry><title>SQL Server 2005 Performance Dashboard (Difference of two datetime values caused an overflow at runtime) error message...</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2008/08/11/sql-server-2005-performance-dashboard-difference-of-two-datetime-values-caused-an-overflow-at-runtime-error-message.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2008/08/11/sql-server-2005-performance-dashboard-difference-of-two-datetime-values-caused-an-overflow-at-runtime-error-message.aspx</id><published>2008-08-12T07:45:00Z</published><updated>2008-08-12T07:45:00Z</updated><content type="html">&lt;P&gt;I recently came across this error "&lt;STRONG&gt;Difference of two datetime values caused an overflow at runtime" &lt;/STRONG&gt;when I open the performance_dashboard_main_report. &lt;/P&gt;
&lt;P&gt;Thanks to Keith Elmore for providing the fix and allowing me to post this here. &lt;/P&gt;
&lt;P&gt;This is a&amp;nbsp;caused by one of the queries in the report that attempts&amp;nbsp;to do a datediff for&amp;nbsp;a session that has been connected to the server for longer than ~20 days.&amp;nbsp; This can be fixed by editing the&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT size=1&gt;&lt;STRONG&gt;MS_PerfDashboard.usp_Main_GetSessionInfo&lt;/STRONG&gt; &lt;/FONT&gt;procedure in setup.sql script as follows:&lt;/P&gt;
&lt;DIV&gt;&lt;FONT size=1&gt;&lt;FONT size=2&gt;ORIGINAL:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIR&gt;&lt;FONT size=1&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="COLOR: fuchsia"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt;convert&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;bigint&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;,&lt;/SPAN&gt; &lt;SPAN style="COLOR: fuchsia"&gt;datediff&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;(&lt;/SPAN&gt;ms&lt;SPAN style="COLOR: gray"&gt;,&lt;/SPAN&gt; login_time&lt;SPAN style="COLOR: gray"&gt;,&lt;/SPAN&gt; &lt;SPAN style="COLOR: fuchsia"&gt;getdate&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;())))&lt;/SPAN&gt; &lt;SPAN style="COLOR: gray"&gt;-&lt;/SPAN&gt; &lt;SPAN style="COLOR: fuchsia"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: fuchsia"&gt;convert&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;(&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;bigint&lt;/SPAN&gt;&lt;SPAN style="COLOR: gray"&gt;,&lt;/SPAN&gt; s&lt;SPAN style="COLOR: gray"&gt;.&lt;/SPAN&gt;total_elapsed_time&lt;SPAN style="COLOR: gray"&gt;))&lt;/SPAN&gt; &lt;SPAN style="COLOR: blue"&gt;as&lt;/SPAN&gt; idle_connection_time&lt;SPAN style="COLOR: gray"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="COLOR: gray"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIR&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;&lt;SPAN style="COLOR: gray"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT size=1&gt;&lt;FONT size=2&gt;CHANGE&lt;/FONT&gt; TO:&lt;/FONT&gt;&lt;/P&gt;
&lt;DIR&gt;
&lt;DIV&gt;&lt;FONT face="courier new,courier" size=2&gt;sum(convert(bigint, CAST ( DATEDIFF ( minute, login_time, getdate()) AS BIGINT)*60000 + DATEDIFF ( millisecond, DATEADD ( minute, DATEDIFF ( minute, login_time, getdate() ), login_time ),getdate() ))) - sum(convert(bigint, s.total_elapsed_time)) as idle_connection_time,&lt;/FONT&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;/DIR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8849928" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2005 Performance Dashboard" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2005+Performance+Dashboard/default.aspx" /></entry><entry><title>Visual Studio 2008 SP1 released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2008/08/11/visual-studio-2008-sp1-released.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2008/08/11/visual-studio-2008-sp1-released.aspx</id><published>2008-08-12T06:25:00Z</published><updated>2008-08-12T06:25:00Z</updated><content type="html">&lt;P&gt;VS 2008 SP1 is released and can be downloaded &lt;A class="" title="Visual Studio 2008 SP1" href="http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx"&gt;here..&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This should now fix the errors that were encountered while installing SQL Server 2008 RTM as mentioned in my &lt;A class="" href="http://blogs.msdn.com/sachinp/archive/2008/08/09/problems-installing-sql-server-2008-rtm-build.aspx" mce_href="http://blogs.msdn.com/sachinp/archive/2008/08/09/problems-installing-sql-server-2008-rtm-build.aspx"&gt;previous blog post.&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8849819" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2008/default.aspx" /><category term="Visual Studio 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/Visual+Studio+2008/default.aspx" /></entry><entry><title>Problems installing SQL Server 2008 (RTM Build)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2008/08/09/problems-installing-sql-server-2008-rtm-build.aspx" /><link rel="enclosure" type="image/jpeg" length="92685" href="http://blogs.msdn.com/sachinp/attachment/8845261.ashx" /><id>http://blogs.msdn.com/sachinp/archive/2008/08/09/problems-installing-sql-server-2008-rtm-build.aspx</id><published>2008-08-09T23:13:00Z</published><updated>2008-08-09T23:13:00Z</updated><content type="html">&lt;P&gt;SQL Server 2008 is released but a lot of users who have installed Visual Studio 2008 are having problems installing SQL 2008.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;The error message a lot of users are seeing is : &lt;BR&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/P&gt;
&lt;DIV class=errormsg&gt;Rule "Previous releases of Microsoft Visual Studio 2008" failed. &lt;BR&gt;&lt;BR&gt;A previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008.&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;&lt;FONT size=2&gt;The SQL Server 2008 Release Notes which can be found &lt;A class="" title="SQL Server 2008 Release notes" href="http://download.microsoft.com/download/4/9/e/49eeb41a-a769-4520-80d6-671b8ae2bd06/SQLServer2008ReleaseNotes.htm" target=_blank mce_href="http://download.microsoft.com/download/4/9/e/49eeb41a-a769-4520-80d6-671b8ae2bd06/SQLServer2008ReleaseNotes.htm"&gt;here&lt;/A&gt; has the updated information on how to proceed further with the install.&lt;BR&gt;KB 956139 talks about the issue and can be found &lt;A class="" title="Visual Studo SP1 needed for SQL 2008." href="http://support.microsoft.com/kb/956139/en-us" mce_href="http://support.microsoft.com/kb/956139/en-us"&gt;here...&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;If you have Visual Studio 2008 (RTM) version installed do the following:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT size=2&gt;1. Wait till the release of SP1 for Visual Studio 2008. Due next week&lt;BR&gt;2. Uninstall all VS 2008 components and then install SQL 2008. &lt;BR&gt;3. Install SQL 2008 components that don't require VS 2008. &lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8845261" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>Online Indexing Operation</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2008/01/10/online-indexing-operation.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2008/01/10/online-indexing-operation.aspx</id><published>2008-01-10T21:38:00Z</published><updated>2008-01-10T21:38:00Z</updated><content type="html">&lt;P&gt;I came across a great whitepaper written by the SQL Server Storage Engine team and can be downloaded here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://www.microsoft.com/technet/prodtechnol/sql/2005/onlineindex.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2005/onlineindex.mspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7060901" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2005 Online Indexing Operation" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2005+Online+Indexing+Operation/default.aspx" /></entry><entry><title>SQL Server 2008 CTP5 is released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/11/19/sql-server-2008-ctp5-is-released.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/11/19/sql-server-2008-ctp5-is-released.aspx</id><published>2007-11-20T08:30:00Z</published><updated>2007-11-20T08:30:00Z</updated><content type="html">&lt;P&gt;SQL Server 2008 CTP 5 is released and can be downloaded here &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=3BF4C5CA-B905-4EBC-8901-1D4C1D1DA884&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=3BF4C5CA-B905-4EBC-8901-1D4C1D1DA884&amp;amp;displaylang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://connect.microsoft.com/SQLServer"&gt;http://connect.microsoft.com/SQLServer&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6421574" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>SQL Server 2008 CTP 4 is now available</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/07/31/sql-server-2008-ctp-4-is-now-available.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/07/31/sql-server-2008-ctp-4-is-now-available.aspx</id><published>2007-08-01T04:17:00Z</published><updated>2007-08-01T04:17:00Z</updated><content type="html">&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;SQL Server 2008 CTP-4 is officially released.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Get it here&amp;nbsp; &lt;A href="https://connect.microsoft.com/SQLServer"&gt;https://connect.microsoft.com/SQLServer&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4157708" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>What's DAC?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/07/10/what-s-dac.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/07/10/what-s-dac.aspx</id><published>2007-07-11T00:48:00Z</published><updated>2007-07-11T00:48:00Z</updated><content type="html">&lt;P&gt;In the past there have been many instances where the SQL Server (database engine) has become unresponsive which could result in users / administrators not being able to connect to the server to troubleshoot issues etc.&amp;nbsp; SQL 2005 has a new feature called " &lt;STRONG&gt;D&lt;/STRONG&gt;edicated &lt;STRONG&gt;A&lt;/STRONG&gt;dministrator &lt;STRONG&gt;C&lt;/STRONG&gt;onnection&lt;STRONG&gt; (DAC)&lt;/STRONG&gt;".&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The Admin Connection (DAC) always uses a specific&amp;nbsp;TCP end point&amp;nbsp;which is always attached&amp;nbsp;to a dedicated UMS.&amp;nbsp; To ensure that resources will be available SQL Server only permits one DAC connection per instance. If there is an active DAC connection open all new requests to connect via DAC are denied. Only members with the SysAdmin role will be able to connect to the database engine using DAC.&lt;/P&gt;
&lt;P&gt;Resources that could spawn multiple threads or resource intensive queries should not be run using a DAC connection. &lt;/P&gt;
&lt;P&gt;A DAC connection is created in 2 ways &lt;/P&gt;
&lt;P&gt;a. SQLCMD utility or&lt;/P&gt;
&lt;P&gt;b. Using &lt;STRONG&gt;SSMS&lt;/STRONG&gt; (&lt;STRONG&gt;S&lt;/STRONG&gt;QL &lt;STRONG&gt;S&lt;/STRONG&gt;erver &lt;STRONG&gt;M&lt;/STRONG&gt;anagement &lt;STRONG&gt;S&lt;/STRONG&gt;tudio)&lt;/P&gt;
&lt;P&gt;you must use the -A switch when using SQLCMD&lt;/P&gt;
&lt;P&gt;E.g. &lt;/P&gt;
&lt;P&gt;D:\&amp;gt; SQLCMD&amp;nbsp; -S &amp;lt;servername&amp;gt; -E (to use your NT authentication) or -U&amp;lt;usrname&amp;gt; -P &amp;lt;password&amp;gt; -A &lt;/P&gt;
&lt;P&gt;you can also connect via SSMS using admin:&amp;lt;servername&amp;gt; &lt;/P&gt;
&lt;P&gt;DAC feature can be turned on / off using either SSMS or the Surface Area Configuration Utility.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT color=#800000 size=2&gt;sp_configure&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'remote admin connections'&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'1' &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT size=2&gt;go&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;reconfigure&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;with&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;override&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;go&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3803980" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="DAC emergency connections" scheme="http://blogs.msdn.com/sachinp/archive/tags/DAC+emergency+connections/default.aspx" /></entry><entry><title>Backing up Large Databases</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/06/20/backing-up-large-databases.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/06/20/backing-up-large-databases.aspx</id><published>2007-06-20T20:34:00Z</published><updated>2007-06-20T20:34:00Z</updated><content type="html">&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;A&amp;nbsp;database restore from a backup&amp;nbsp;is a repair / recovery feature and not a high availability feature. If you are running a mission-critical system and if your database requires high availability, then please look into various H/A features available with SQL Server 2005.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;If you are running a mission-critical system then you need your database to be available continuously or for extended periods of time with minimal down-time for maintenance tasks. So, the&amp;nbsp;time&amp;nbsp;required for databases to be restored must be kept as short as possible. Also, if your databases are large (VLDB's) , which may&amp;nbsp;require a longer time&amp;nbsp;to perform backup and restore then you&amp;nbsp;SHOULD look into some&amp;nbsp;cool features SQL Server offers to increase the speed of backup and restore operations to minimize the effect on users during both operations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;If you are backing up or restoring a Large Database &lt;/SPAN&gt;(VLDB) then try and use multiple backup devices simultaneously to allow backups to be written to all the devices at the same time. (Note: A database can be restored from multiple devices at the same time)&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Use a mirrored media set. A total of four mirrors is possible per media set. With the mirrored media set, the backup operation writes to multiple groups of backup devices. Each group of backup devices makes up a single mirror in the mirrored media set. Every mirror must use the same quantity and type of physical backup devices, which must all have the same properties.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;If the database recovery model is set to FULL, then use the available backup options&amp;nbsp;e.x. (FULL, DIFFERENTIAL, LOG). This will help&amp;nbsp;to minimize the number of backups that need to be applied to bring the database to the point of failure.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Make use of the&amp;nbsp;file and filegroup backup option . This allows for only those files that contain the&amp;nbsp;relevant data, instead of the whole database, to be backed up or restored.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV class=MsoPlainText style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=arial,helvetica,sans-serif size=3&gt;Use Snapshot backups to minimize backup and restore time. (such type of backups are usually supported by&amp;nbsp;third-party vendors)&lt;/FONT&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3428603" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="Database Backups and Availability" scheme="http://blogs.msdn.com/sachinp/archive/tags/Database+Backups+and+Availability/default.aspx" /></entry><entry><title>Tech Ed</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/06/04/tech-ed.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/06/04/tech-ed.aspx</id><published>2007-06-04T22:04:00Z</published><updated>2007-06-04T22:04:00Z</updated><content type="html">&lt;P&gt;As you all might know this years teched is being hosted in Orlando. For those who are unable to attend the event in person feel free to visit &lt;A href="http://virtualteched.com/Pages/default.aspx"&gt;http://virtualteched.com/Pages/default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3084896" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="TechEd" scheme="http://blogs.msdn.com/sachinp/archive/tags/TechEd/default.aspx" /></entry><entry><title>SQL Server 2008</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sachinp/archive/2007/06/04/sql-server-2008.aspx" /><id>http://blogs.msdn.com/sachinp/archive/2007/06/04/sql-server-2008.aspx</id><published>2007-06-04T20:48:00Z</published><updated>2007-06-04T20:48:00Z</updated><content type="html">&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;The first public CTP of Katmai will be available for download from&lt;SPAN style="COLOR: #1f497d"&gt; &lt;A href="http://connect.microsoft.com/sqlserver"&gt;&lt;FONT color=#0000ff&gt;http://connect.microsoft.com/sqlserver&lt;/FONT&gt;&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&lt;FONT color=#000000&gt;The name for the next release of SQL Server™: Microsoft SQL Server 2008, formerly code-named SQL Server “Katmai,” and the delivery of the first SQL Server 2008 Community Technology Preview (CTP), now available for customer download at &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx"&gt;&lt;FONT color=#0000ff&gt;http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;&amp;nbsp;Be sure to check out the live web cast of Dave Campbell's Katmai Overview presentation at Tech Ed in Orlando. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;SPAN style="COLOR: #1f497d"&gt;&lt;SPAN style="FONT-SIZE: 12pt"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;B&gt;&lt;A class="" title="TechNet Webcast: The Next Release of Microsoft SQL Server: Overview (Level 200)" href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032341071%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e" target=_blank mce_href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032341071%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;&lt;FONT color=#0000ff&gt;TechNet Webcast: The Next Release of Microsoft SQL Server: Overview (Level 200)&lt;/FONT&gt;&lt;/A&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;B&gt;&lt;FONT color=#000000&gt;Monday, June 4, 2007&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;I&gt;&lt;FONT color=#000000&gt;12:00 P.M. - 1:15 P.M. Pacific Time&lt;/FONT&gt;&lt;/I&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3084085" width="1" height="1"&gt;</content><author><name>sachinp</name><uri>http://blogs.msdn.com/members/sachinp.aspx</uri></author><category term="SQL Server 2008" scheme="http://blogs.msdn.com/sachinp/archive/tags/SQL+Server+2008/default.aspx" /></entry></feed>