<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-696526232017920740</id><updated>2024-08-28T21:47:51.622-07:00</updated><title type='text'>SQL server journal... </title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-8229960133936391594</id><published>2012-11-21T06:06:00.003-08:00</published><updated>2012-11-21T06:06:45.816-08:00</updated><title type='text'>Hekaton – SQL Server’s in-memory database engine</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;http://blogs.technet.com/b/dataplatforminsider/archive/2012/04/09/the-coming-in-memory-database-tipping-point.aspx&quot;&gt;http://blogs.technet.com/b/dataplatforminsider/archive/2012/04/09/the-coming-in-memory-database-tipping-point.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Microsoft have just went public at the PASS Summit in Seattle about a
 new SQL Server engine that they’re working on which is optimized for 
high-memory servers – an in-memory OLTP database engine which is 
built-in to SQL Server rather than a separate entity.&amp;nbsp; This means that 
you can move just the performance critical parts of your database to 
Hekaton.&lt;br /&gt;
  The new engine really pushes the performance boundaries by eliminating as many instructions as possible:&lt;br /&gt;
  &lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Main memory optimized tables which are decoupled from on-disk structures; &lt;/li&gt;
&lt;li&gt;Everything is lock and latch free;&lt;/li&gt;
&lt;li&gt;More work is pushed to compile time so your T-SQL code is compiled natively into low-level code.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/8229960133936391594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2012/11/hekaton-sql-servers-in-memory-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/8229960133936391594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/8229960133936391594'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2012/11/hekaton-sql-servers-in-memory-database.html' title='Hekaton – SQL Server’s in-memory database engine'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-1449878902673302909</id><published>2012-07-08T22:16:00.001-07:00</published><updated>2012-07-08T22:16:07.916-07:00</updated><title type='text'>Server Configuration script-returns SQL server information</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;&lt;br /&gt;-- Returns SQL Server information (SQL Server 2008)&lt;br /&gt;SELECT &#39;ServerName&#39; &quot;Name&quot;, SERVERPROPERTY(&#39;ServerName&#39;) &quot;Value&quot; &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;InstanceName&#39;, SERVERPROPERTY(&#39;InstanceName&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;MachineName&#39;, SERVERPROPERTY(&#39;MachineName&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ComputerNamePhysicalNetBIOS&#39;, SERVERPROPERTY(&#39;ComputerNamePhysicalNetBIOS&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ProductVersion&#39;, SERVERPROPERTY(&#39;ProductVersion&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ProductLevel&#39;, SERVERPROPERTY(&#39;ProductLevel&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;Edition&#39;, SERVERPROPERTY(&#39;Edition&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;EditionID&#39;, SERVERPROPERTY(&#39;EditionID&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;EngineEdition&#39;, SERVERPROPERTY(&#39;EngineEdition&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;EngineEditionDesc&#39;, &lt;br /&gt;&amp;nbsp; CASE SERVERPROPERTY(&#39;EngineEdition&#39;) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 1 THEN &#39;Personal/Desktop Engine&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 2 THEN &#39;Standard&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 3 THEN &#39;Enterprise&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 4 THEN &#39;Express&#39;&lt;br /&gt;&amp;nbsp; END&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;FilestreamShareName&#39;, SERVERPROPERTY(&#39;FilestreamShareName&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;FilestreamConfiguredLevel&#39;, SERVERPROPERTY(&#39;FilestreamConfiguredLevel&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;FilestreamEffectiveLevel&#39;, SERVERPROPERTY(&#39;FilestreamEffectiveLevel&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;BuildClrVersion&#39;, SERVERPROPERTY(&#39;BuildClrVersion&#39;) &lt;br /&gt;UNION ALL&lt;br /&gt;SELECT &#39;Collation&#39;, SERVERPROPERTY(&#39;Collation&#39;)&lt;br /&gt;UNION ALL&lt;br /&gt;SELECT &#39;CollationID&#39;, SERVERPROPERTY(&#39;CollationID&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;LCID&#39;, SERVERPROPERTY(&#39;LCID&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;SqlCharSet&#39;, SERVERPROPERTY(&#39;SqlCharSet&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;SqlCharSetName&#39;, SERVERPROPERTY(&#39;SqlCharSetName&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;SqlSortOrder&#39;, SERVERPROPERTY(&#39;SqlSortOrder&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;SqlSortOrderName&#39;, SERVERPROPERTY(&#39;SqlSortOrderName&#39;)&lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ComparisonStyle&#39;, SERVERPROPERTY(&#39;ComparisonStyle&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;IsClustered&#39;, SERVERPROPERTY(&#39;IsClustered&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;IsFullTextInstalled&#39;, SERVERPROPERTY(&#39;IsFullTextInstalled&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;IsIntegratedSecurityOnly&#39;, SERVERPROPERTY(&#39;IsIntegratedSecurityOnly&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;IsSingleUser&#39;, SERVERPROPERTY(&#39;IsSingleUser&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ResourceLastUpdateDateTime&#39;, SERVERPROPERTY(&#39;ResourceLastUpdateDateTime&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ResourceVersion&#39;, SERVERPROPERTY(&#39;ResourceVersion&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;LicenseType&#39;, SERVERPROPERTY(&#39;LicenseType&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;NumLicenses&#39;, SERVERPROPERTY(&#39;NumLicenses&#39;) &lt;br /&gt;UNION ALL &lt;br /&gt;SELECT &#39;ProcessID&#39;, SERVERPROPERTY(&#39;ProcessID&#39;);&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/1449878902673302909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2012/07/server-configuration-script-returns-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/1449878902673302909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/1449878902673302909'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2012/07/server-configuration-script-returns-sql.html' title='Server Configuration script-returns SQL server information'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-2192504948399199139</id><published>2011-09-07T10:17:00.000-07:00</published><updated>2011-09-07T10:17:16.558-07:00</updated><title type='text'>SQL Server - How To Tell If There Is A Trace Running</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;submitted&quot;&gt;&lt;/span&gt;Server-side tracing is the process of having  your SQL Server machine save events to a physical file on that machine  without using the Profiler client tool.&amp;nbsp; Server-side tracing is enabled  and controlled by using SQL Server system-supplied stored procedures and  functions. With these system-supplied processes, you can identify what  to trace, when to start and stop tracing, what traces are running, and  view trace information stored in the trace file.&lt;br /&gt;
&lt;br /&gt;
Here is how you view the number of traces currently running:&lt;br /&gt;
&lt;blockquote&gt;  &lt;span style=&quot;background-color: transparent; color: black; font-family: Courier New; font-size: 11px;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;SELECT&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: magenta; font-family: Courier New; font-size: 11px;&quot;&gt;count&lt;/span&gt;(*) &lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;FROM&lt;/span&gt; :: &lt;span style=&quot;background-color: transparent; color: brown; font-family: Courier New; font-size: 11px;&quot;&gt;fn_trace_getinfo&lt;/span&gt;(&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;default&lt;/span&gt;) &lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;WHERE&lt;/span&gt; property = 5 &lt;span style=&quot;background-color: transparent; color: silver; font-family: Courier New; font-size: 11px;&quot;&gt;and&lt;/span&gt; value = 1&lt;/span&gt; &lt;br /&gt;
&lt;/blockquote&gt;Here is how you can find more detail about the running traces:&lt;br /&gt;
&lt;blockquote&gt;  &lt;span style=&quot;background-color: transparent; color: black; font-family: Courier New; font-size: 11px;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;SELECT &lt;/span&gt;* &lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;FROM&lt;/span&gt; :: &lt;span style=&quot;background-color: transparent; color: brown; font-family: Courier New; font-size: 11px;&quot;&gt;fn_trace_getinfo&lt;/span&gt;(&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;default&lt;/span&gt;)&lt;/span&gt; &lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
You can terminate a trace with the &#39;sp_trace_setstatus&#39; stored procedure using the traceid:&lt;br /&gt;
&lt;blockquote&gt;  &lt;span style=&quot;background-color: transparent; color: black; font-family: Courier New; font-size: 11px;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;EXEC&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: brown; font-family: Courier New; font-size: 11px;&quot;&gt;sp_trace_setstatus&lt;/span&gt; 1, @status = 0&lt;br /&gt;
&lt;span style=&quot;background-color: transparent; color: blue; font-family: Courier New; font-size: 11px;&quot;&gt;EXEC&lt;/span&gt; &lt;span style=&quot;background-color: transparent; color: brown; font-family: Courier New; font-size: 11px;&quot;&gt;sp_trace_setstatus&lt;/span&gt; 1, @status = 2&lt;/span&gt; &lt;br /&gt;
&lt;/blockquote&gt;setting the status to 0 stops the trace&lt;br /&gt;
setting the status to 2 closes the trace and deletes its definition from the server&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/2192504948399199139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/09/sql-server-how-to-tell-if-there-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2192504948399199139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2192504948399199139'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/09/sql-server-how-to-tell-if-there-is.html' title='SQL Server - How To Tell If There Is A Trace Running'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-1401735001332938847</id><published>2011-08-09T09:09:00.000-07:00</published><updated>2011-08-09T09:10:45.120-07:00</updated><title type='text'>Script to return memory information for the operating system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;SELECT &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; total_physical_memory_kb / 1024 &quot;PhysicalMem(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; available_physical_memory_kb / 1024 &quot;AvailablePhysicalMem(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; system_cache_kb /1024 &quot;SystemCache(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; (kernel_paged_pool_kb + kernel_nonpaged_pool_kb) / 1024 &quot;KernelPool(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; total_page_file_kb / 1024 &quot;TotalPageFile(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; available_page_file_kb / 1024 &quot;AvailablePageFile(MB)&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; system_memory_state_desc &quot;MemoryState&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; system_high_memory_signal_state &quot;SystemHighMemState&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; system_low_memory_signal_state &quot;SystemLowMemState&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;FROM &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&amp;nbsp; sys.dm_os_sys_memory;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/1401735001332938847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/08/returns-memory-information-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/1401735001332938847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/1401735001332938847'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/08/returns-memory-information-for.html' title='Script to return memory information for the operating system'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-4479419625681868206</id><published>2011-08-09T09:05:00.000-07:00</published><updated>2011-08-09T09:05:35.430-07:00</updated><title type='text'>Query to Find index FileGroup location</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;select distinct&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;idx.name as IndexName&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,object_name(idx.id) as TableName&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;,fil.name as FileGroup&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;,dbf.physical_name as PhysicalFileName&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;from sys.tables tb&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inner join sys.sysindexes idx&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on idx.id = tb.object_id &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and tb.type = &#39;U&#39; and idx.name is not null&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inner join sys.filegroups fil&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on fil.data_space_id = idx.groupid&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; inner join sys.database_files dbf&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on fil.data_space_id = dbf.data_space_id&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; inner join sys.data_spaces dsp&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on fil.data_space_id = dsp.data_space_id&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/4479419625681868206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/08/query-to-find-index-filegroup-location.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/4479419625681868206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/4479419625681868206'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/08/query-to-find-index-filegroup-location.html' title='Query to Find index FileGroup location'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-2457301111890923000</id><published>2011-06-17T12:35:00.000-07:00</published><updated>2011-06-17T12:35:37.547-07:00</updated><title type='text'>An overview on Peer to peer replication in SQL server 2008</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;1. What is Replication?&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;color: black; font-family: Calibri; mso-bidi-font-family: Arial;&quot;&gt;Ans&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Replication is a set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency. Using replication, you can distribute data to different locations and to remote or mobile users over local and wide area networks, dial-up connections, wireless connections, and the Internet.&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;Transactional replication is typically used in server-to-server scenarios that require high throughput, including: improving scalability and availability; data warehousing and reporting; integrating data from multiple sites; integrating heterogeneous data; and offloading batch processing. Merge replication is primarily designed for mobile applications or distributed server applications that have possible data conflicts. Common scenarios include: exchanging data with mobile users; consumer point of sale (POS) applications; and integration of data from multiple sites. Snapshot replication is used to provide the initial data set for transactional and merge replication; it can also be used when complete refreshes of data are appropriate. With these three types of replication, SQL Server provides a powerful and flexible system for synchronizing data across your enterprise.&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;&quot;&gt;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!--[if !mso]&gt; &lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;br /&gt;
&lt;h2&gt;&lt;a href=&quot;&quot; name=&quot;_Toc289188250&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Transactional Replication Architecture&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;Transactional replication and peer-to-peer replication use the same architecture to move changes between the servers in a replication topology. The following illustration is an overview of the components involved in transactional replication.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Arial; mso-no-proof: yes;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;Figure 2:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11pt;&quot;&gt; &lt;/span&gt;&lt;!--[if !mso]&gt; &lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt; &lt;![endif]--&gt;&lt;span style=&quot;color: navy; font-family: Arial; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US; mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;Transactional replication architecture overview&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;A minimum of three server roles are required for transactional replication:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Publisher,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; hosting the publication database&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Distributor,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; hosting the distribution database&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Subscriber,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; hosting the subscription database&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;Depending on the complexity of the replication topology, there may be multiple Subscriber servers or, in the case of peer-to-peer replication, multiple peer servers with the replication stream flowing in both directions between the peers. Furthermore, the roles of the various replication servers can be played by one server or by individual servers (the more common case), and it is possible for a server to play any combination of roles. Regardless, the various servers and databases must be protected to ensure that the replication stream is highly available.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: navy; font-family: Calibri; font-size: 11.0pt; mso-bidi-font-family: Arial;&quot;&gt;Transactional replication relies on various agents to perform the tasks associated with tracking changes and distributing data. These agents are:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Snapshot Agent,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; which runs at the Distributor. This agent prepares schema and initial data files of published tables and other objects, stores the snapshot files, and records information about synchronization in the distribution database.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Log Reader Agent,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; which runs at the Distributor. This agent connects to the Publisher and moves transactions marked for replication from the transaction log of the publication database to the distribution database.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Distribution Agent,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt; which runs at the Distributor for push subscriptions, and at the Subscriber for pull subscriptions. This agent applies the (optional) initial snapshot to the Subscribers and moves transactions held in the distribution database to Subscribers&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;•&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: navy; mso-bidi-font-family: Arial;&quot;&gt;Queue Reader Agent,&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: navy;&quot;&gt; which runs at the Distributor. This agent is only used for transactional replication with updateable subscriptions and moves changes made on the Subscribers back to the Publisher.&lt;br /&gt;
&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; LatentStyleCount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;img src=&quot;http://img2.blogblog.com/img/video_object.png&quot; style=&quot;background-color: #b2b2b2; &quot; class=&quot;BLOGGER-object-element tr_noresize tr_placeholder&quot; id=&quot;ieooui&quot; data-original-id=&quot;ieooui&quot; /&gt; &lt;style&gt;
st1\:*{behavior:url(#ieooui) }
&lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0in 5.4pt 0in 5.4pt;
 mso-para-margin:0in;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:10.0pt;
 font-family:&quot;Times New Roman&quot;;
 mso-ansi-language:#0400;
 mso-fareast-language:#0400;
 mso-bidi-language:#0400;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;2. What is Peer to Peer replication in SQL server 2008?&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;Ans. &lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Peer-to-peer replication provides a scale-out and high-availability solution by maintaining copies of data across multiple server instances, also referred to as &lt;span class=&quot;parameter&quot;&gt;nodes&lt;/span&gt;. Built on the foundation of transactional replication, peer-to-peer replication propagates transactionally&lt;/span&gt; &lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;consistent changes in near real-time. This enables applications that require scale-out of read operations to distribute the reads from clients across multiple nodes. Because data is maintained across the nodes in near real-time, peer-to-peer replication provides data redundancy, which increases the availability of data.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri;&quot;&gt;3. Considerations for configuring Peer to Peer replication in SQL server 2008.&lt;/span&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Ans. &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 12.0pt;&quot;&gt;General Considerations&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Peer-to-peer replication is available only in SQL Server 2008 Enterprise.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;All databases that participate in peer-to-peer replication should contain identical schema and data:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 1.0in; mso-list: l2 level2 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;o&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Object names, object schema, and publication names should be identical.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 1.0in; mso-list: l2 level2 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;o&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Publications must allow schema changes to be replicated. (This is a setting of &lt;strong&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;1&lt;/span&gt;&lt;/strong&gt; for the publication property &lt;strong&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;replicate_ddl&lt;/span&gt;&lt;/strong&gt;, which is the default setting. Row and column filtering are not supported.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;We recommend that each node use its own distribution database. This eliminates the potential of having a single point of failure.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Tables and other objects cannot be included in multiple peer-to-peer publications in a single publication database.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;A publication must be enabled for peer-to-peer replication before any subscriptions are created.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l2 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri;&quot;&gt;Subscriptions must be initialized by using a backup or with the &lt;strong&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&#39;replication support only&#39;&lt;/span&gt;&lt;/strong&gt; option. MS do not recommend the use of identity columns. When using identities, you must manually manage the ranges assigned to the tables at each participating database.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;margin-left: .25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Calibri; mso-bidi-font-family: Arial;&quot;&gt;4. Development implications on Peer to Peer Environment&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; mso-bidi-font-family: Arial;&quot;&gt;&lt;br /&gt;
Ans. &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;regiontitle&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11.0pt;&quot;&gt;Considerations for Schema Changes.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Schema changes are subject to any restrictions imposed by Transact-SQL. For example, ALTER TABLE does not allow you to ALTER primary key columns.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;If a publication is set to allow the propagation of schema changes, schema changes are propagated regardless of how the related schema option is set for an article in the publication. For example, if you select not to replicate foreign key constraints for a table article, but then issue an ALTER TABLE command that adds a foreign key to the table at the Publisher, the foreign key is added to the table at the Subscriber. To prevent this, disable the propagation of schema changes before issuing the ALTER TABLE command.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;If the schema change references objects or constraints existing on the Publisher but not on the Subscriber, the schema change will succeed on the Publisher but will fail on the Subscriber.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;All objects on the Subscriber that are referenced when adding a foreign key must have the same name and owner as the corresponding object on the Publisher.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Explicitly adding, dropping, or altering indexes is not supported. Indexes created implicitly for constraints (such as a primary key constraint) are supported.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Altering or dropping identity columns that are managed by replication is not supported. &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Schema changes that include nondeterministic functions are not supported because they can result in data at the Publisher and Subscriber being different (referred to as non-convergence). For example, if you issue the following command at the Publisher: &lt;span class=&quot;code&quot;&gt;ALTER TABLE SalesOrderDetail ADD OrderDate DATETIME DEFAULT GETDATE()&lt;/span&gt;, the values are different when the command is replicated to the Subscriber and executed. &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l3 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;It is recommended that constraints be explicitly named. If a constraint is not explicitly named, SQL Server generates a name for the constraint, and these names will be different on the Publisher and each Subscriber. This can cause issues during the replication of schema changes. For example, if you drop a column at the Publisher and a dependent constraint is dropped, replication will attempt to drop the constraint at the Subscriber. &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l0 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;To add a new column to a table and include that column in an existing publication, execute ALTER TABLE &lt;/span&gt;&lt;/div&gt;ADD &lt;column&gt;. By default, the column is then replicated to all Subscribers. The column must allow NULL values or include a default constraint. &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br /&gt;
&lt;div style=&quot;margin-left: .5in; mso-list: l0 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;To add a new column to a table and not include that column in an existing publication, disable the replication of schema changes, and then execute ALTER TABLE &lt;/span&gt;&lt;/div&gt;&lt;/column&gt;&lt;table&gt;&lt;/table&gt;ADD &lt;column&gt;.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br /&gt;
&lt;div style=&quot;margin-left: .5in; mso-list: l0 level1 lfo3; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Adding an identity column to a published table is not supported, because it can result in non-convergence when the column is replicated to the Subscriber. The values in the identity column at the Publisher depend on the order in which the rows for the affected table are physically stored. The rows might be stored differently at the Subscriber; therefore the value for the identity column can be different for the same rows.&lt;/span&gt;&lt;/div&gt;&lt;h4&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Dropping Columns&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;margin-left: .5in; mso-list: l1 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;To drop a column from an existing publication and drop the column from the table at the Publisher, execute ALTER TABLE &lt;/span&gt;&lt;/div&gt;&lt;/column&gt;&lt;table&gt;&lt;/table&gt;DROP &lt;column&gt;. By default, the column is then dropped from the table at all Subscribers.&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;br /&gt;
&lt;div style=&quot;margin-left: .5in; mso-list: l1 level1 lfo4; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;When dropping a column from a published article, take into consideration any constraints, indexes, or properties of the column that could affect the database. For example:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 1.0in; mso-list: l1 level2 lfo4; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;o&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;You cannot drop columns used in a primary key from articles in transactional publications, because they are used by replication.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 1.0in; mso-list: l1 level2 lfo4; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;o&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Index changes are not propagated to Subscribers: if you drop a column at the Publisher and a dependent index is dropped, the index drop is not replicated. You should drop the index at the Subscriber before dropping the column at the Publisher, so that the column drop succeeds when it is replicated from the Publisher to the Subscriber. If synchronization fails because of an index at the Subscriber, manually drop the index and then rerun the Merge Agent.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-left: 1.0in; mso-list: l1 level2 lfo4; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: #333399; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;o&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333399; font-family: Calibri; font-size: 11.0pt;&quot;&gt;Constraints should be explicitly named to allow for dropping. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;ListParagraphCxSpLast&quot; style=&quot;text-indent: -0.25in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/column&gt;&lt;table&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/2457301111890923000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/overview-on-peer-to-peer-replication-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2457301111890923000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2457301111890923000'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/overview-on-peer-to-peer-replication-in.html' title='An overview on Peer to peer replication in SQL server 2008'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-2064522175171424001</id><published>2011-06-16T22:45:00.000-07:00</published><updated>2011-06-17T12:18:43.859-07:00</updated><title type='text'>T-SQL script to remove replication in SQL server 2008\2005</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;use master&lt;br /&gt;
go&lt;br /&gt;
&lt;br /&gt;
-- Remove replication objects from the subscription database on MYDATABASE.&lt;br /&gt;
DECLARE @subscriptionDB AS sysname&lt;br /&gt;
SET @subscriptionDB = N&#39;MYDATABASE&#39;&lt;br /&gt;
&lt;br /&gt;
-- Remove replication objects from a subscription database (if necessary).&lt;br /&gt;
USE master&lt;br /&gt;
EXEC sp_removedbreplication @subscriptionDB&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
use distribution&lt;br /&gt;
go&lt;br /&gt;
exec sp_removedistpublisherdbreplication @publisher = &#39;Instance Name&#39;&lt;br /&gt;
, @publisher_db = &#39;MYDATABASE&#39;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/2064522175171424001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/t-sql-script-to-remove-replication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2064522175171424001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2064522175171424001'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/t-sql-script-to-remove-replication.html' title='T-SQL script to remove replication in SQL server 2008\2005'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-5743218508148711347</id><published>2011-06-16T22:37:00.000-07:00</published><updated>2011-06-16T22:40:56.503-07:00</updated><title type='text'>How to find the Job owners in a SQL server instance</title><content type='html'>use msdb&lt;br /&gt;go&lt;br /&gt;SELECT j.[name] AS &#39;JobName&#39;,&lt;br /&gt;Enabled = CASE WHEN j.Enabled = 0 THEN &#39;No&#39;&lt;br /&gt;ELSE &#39;Yes&#39;&lt;br /&gt;END,&lt;br /&gt;l.[name] AS &#39;OwnerName&#39;&lt;br /&gt;FROM MSDB.dbo.sysjobs j&lt;br /&gt;INNER JOIN Master.dbo.syslogins l&lt;br /&gt;ON j.owner_sid = l.sid&lt;br /&gt;ORDER BY j.[name]&lt;br /&gt;GO</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/5743218508148711347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/how-to-find-job-owners-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/5743218508148711347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/5743218508148711347'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/how-to-find-job-owners-in-sql-server.html' title='How to find the Job owners in a SQL server instance'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-8085745115090196734</id><published>2011-06-16T22:30:00.000-07:00</published><updated>2011-06-16T22:35:48.932-07:00</updated><title type='text'></title><content type='html'>How to read the error logs in SQL server 2005\2008?&lt;br /&gt;&lt;br /&gt;exec xp_readerrorlogs&lt;br /&gt;&lt;br /&gt;Please read the below link before running it:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://http//support.microsoft.com/kb/973524&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;http://support.microsoft.com/kb/973524&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/8085745115090196734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/how-to-read-error-logs-in-sql-server.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/8085745115090196734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/8085745115090196734'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2011/06/how-to-read-error-logs-in-sql-server.html' title=''/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-696526232017920740.post-2593633152507917559</id><published>2009-08-07T07:34:00.000-07:00</published><updated>2009-08-07T07:54:29.254-07:00</updated><title type='text'>Sql Server 2008 editions</title><content type='html'>&lt;div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCWW3nsYgWpHI_lRDPqa3FOyAI9-osyxHJ8a2U72t1jrRaGUWqhFkwhCjLaEuWDX4myZJm1Gf5dFmuhWL0Zvc-ldwiRe9vgThhMU_CaulnIPKhNTT-gQZnuSPxfSji4fEabSesDrvbi4/s1600-h/Editions+of+sql2008.png&quot;&gt;&lt;font color=&quot;#000066&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5367234343821529650&quot; style=&quot;FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 400px; CURSOR: hand; HEIGHT: 269px&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCWW3nsYgWpHI_lRDPqa3FOyAI9-osyxHJ8a2U72t1jrRaGUWqhFkwhCjLaEuWDX4myZJm1Gf5dFmuhWL0Zvc-ldwiRe9vgThhMU_CaulnIPKhNTT-gQZnuSPxfSji4fEabSesDrvbi4/s400/Editions+of+sql2008.png&quot; border=&quot;0&quot; /&gt;&lt;/font&gt;&lt;/a&gt;&lt;font color=&quot;#000066&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;div&gt;&lt;font color=&quot;#000066&quot;&gt;What are the Editions of SQL Server 2008?&lt;br /&gt;Microsoft® SQL Server® 2008 is available in a number of editions, each suitable for a particular environment or task.&lt;br /&gt;It is important to understand the differences between the available editions so that you can select the most appropriate one for your needs.&lt;br /&gt;The Developer Edition contains the same functionality as Enterprise Edition, but is restricted, by the license, to testing and development only.&lt;br /&gt;Windows Essential Business Server Premium Edition® (which will replace Small Business Server®) comes with a license for SQL Server 2008 Standard Edition®.&lt;br /&gt;SQL Server 2008 Web Edition enables hosting companies to provide low cost, highly scalable hosting for developers, SMBs, and consumers, all with a low monthly licensing fee, four CPU support, and no limits on memory and database size for increased scalability.&lt;br /&gt;Cross-version instances of SQL Server 2008 are not supported. Version numbers of the Database Engine, Analysis Services, and Reporting Services components must be the same within an instance of SQL Server 2008.&lt;br /&gt;Before upgrading SQL Server, enable Windows Authentication for SQL Server Agent and verify that the SQL Server Agent service account is a member of the SQL Server sysadmin group.&lt;br /&gt;Before upgrading from one edition of SQL Server 2008 to another, verify that the functionality you are currently using is supported in the edition to which you are upgrading.&lt;br /&gt;Cross-platform upgrade is not supported. You cannot upgrade a 32-bit instance of SQL Server to native 64-bit. However, you can upgrade a 32-bit instance of SQL Server to the WOW64: the 32-bit subsystem on a 64-bit server. You can also back up or detach databases from a 32-bit instance of SQL Server, and then restore or attach them to an instance of SQL Server (64-bit) if the databases are not published in replication. In this case, you must also re-create any logins and other user objects in master, msdb, and model system databases.&lt;br /&gt;To upgrade to SQL Server 2008, you must be running a supported operating system.&lt;br /&gt;The installer will check a number of conditions and block the upgrade if certain conditions are not met:&lt;br /&gt;Upgrade will be blocked if there is a pending restart.&lt;br /&gt;Upgrade will be blocked if the Windows Installer service is not running.&lt;br /&gt;Upgrade will be blocked if performance counters are corrupt.&lt;br /&gt;To upgrade an instance of SQL Server to a SQL Server failover cluster, the instance being upgraded must be a failover cluster. To upgrade a stand-alone instance of SQL Server to a SQL Server failover cluster, install a new SQL Server failover cluster and then migrate user databases from the stand-alone instance by using the Copy Database Wizard.&lt;br /&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqlcommando.blogspot.com/feeds/2593633152507917559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqlcommando.blogspot.com/2009/08/sql-server-2008-editions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2593633152507917559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/696526232017920740/posts/default/2593633152507917559'/><link rel='alternate' type='text/html' href='http://sqlcommando.blogspot.com/2009/08/sql-server-2008-editions.html' title='Sql Server 2008 editions'/><author><name>Bodhisatya</name><uri>http://www.blogger.com/profile/01008582604221409311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilvHkFsJGpLnsO0fHKSdu6c1jMJ9TyqkHH_qzA8zuM_jiyf-4dtCZix4leAMTGyUgpdJImIUeR5Ll3vR5e5IytpxWdEejacEFhPxHJtC5KFAYRDnpR3UweqOMk-B86QGI/s220/Image034.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqCWW3nsYgWpHI_lRDPqa3FOyAI9-osyxHJ8a2U72t1jrRaGUWqhFkwhCjLaEuWDX4myZJm1Gf5dFmuhWL0Zvc-ldwiRe9vgThhMU_CaulnIPKhNTT-gQZnuSPxfSji4fEabSesDrvbi4/s72-c/Editions+of+sql2008.png" height="72" width="72"/><thr:total>1</thr:total></entry></feed>