<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sql-server-performance.com/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Performance</title><link>http://sql-server-performance.com/Community/forums/</link><description>All Posts</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>Installation of sql 2005 enterprise client components</title><link>http://sql-server-performance.com/Community/forums/thread/165999.aspx</link><pubDate>Thu, 29 Jul 2010 11:16:45 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165999</guid><dc:creator>sandeepsingh005</dc:creator><slash:comments>1</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165999.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165999</wfw:commentRss><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I am upgrading sql 2000 sp3 enterprise to sql 2005. sql 2000 is default instance and I am installing sql 2005 as named instance. I am planning to move databases, logins and jobs later on to sql 2005. I need only databases engine upgrade only and workstation tools (management studio etc)&lt;/p&gt;
&lt;p&gt;the sql 2005 installation is going through fine for the DB services but as soon as it starts installing the workstation tools it breaks and says &amp;quot;an unexpected error as occured. check the logs&amp;quot;. the DB services are installed correctly. the setup logs dont suggest anything. I have also tried installed these 2 components separately but same error. restarted machine tried again but didnt help.&lt;/p&gt;
&lt;p&gt;can anybody please help me on this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to get the table type definition</title><link>http://sql-server-performance.com/Community/forums/thread/165995.aspx</link><pubDate>Thu, 29 Jul 2010 09:20:06 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165995</guid><dc:creator>AJITH123</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165995.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=60&amp;PostID=165995</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can any body give the script to get the table type definition (sql script). What are the sys objects needs to joing to get the definition?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajith&lt;/p&gt;</description></item><item><title>T-SQL -  Need Help</title><link>http://sql-server-performance.com/Community/forums/thread/165845.aspx</link><pubDate>Sat, 10 Jul 2010 14:25:27 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165845</guid><dc:creator>sqlderby</dc:creator><slash:comments>6</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165845.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=6&amp;PostID=165845</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All &lt;/p&gt;&lt;p&gt;I have following data and require&amp;nbsp; result set but facing problem...as my query showing 28 rows...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Table 1:&lt;/p&gt;&lt;table style="border-collapse:collapse;width:295pt;" cellpadding="0" cellspacing="0"&gt;
 
 
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;width:98pt;"&gt;&lt;b&gt;DT&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl65" style="width:53pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl65" style="width:48pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl65" style="width:48pt;"&gt;&lt;b&gt;Extension&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl65" style="width:48pt;"&gt;&lt;b&gt;CADID&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 11:48:57&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 11:48:59&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 13:57:54&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 18:30:03&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 14:37:22&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 09:27:11&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl64" style="height:15pt;"&gt;07/07/2010 10:20:46&lt;/td&gt;
  &lt;td class="xl63"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl63"&gt;201216&lt;/td&gt;
  &lt;td class="xl63"&gt;31364&lt;/td&gt;
  &lt;td class="xl63"&gt;452395&lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Table 2:&lt;/p&gt;&lt;table style="border-collapse:collapse;width:323pt;" cellpadding="0" cellspacing="0"&gt;
 
 
 
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl67" style="height:15pt;width:65pt;"&gt;&lt;b&gt;CadID&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:55pt;"&gt;&lt;b&gt;Extension&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:92pt;"&gt;&lt;b&gt;AgentState&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl68" style="width:111pt;"&gt;&lt;b&gt;TimeStamp_PST&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl65" style="height:15pt;"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 11:48:32&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl65" style="height:15pt;"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 11:48:34&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl65" style="height:15pt;"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 13:57:29&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl65" style="height:15pt;"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 14:36:56&lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Result set should be....&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;table style="border-collapse:collapse;width:499pt;" cellpadding="0" cellspacing="0"&gt;
 
 
 
 
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl68" style="height:15pt;width:98pt;"&gt;&lt;b&gt;DT&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:62pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:48pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:48pt;"&gt;&lt;b&gt;Extension&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:48pt;"&gt;&lt;b&gt;CADID&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl67" style="width:88pt;"&gt;&lt;b&gt;AgentState&lt;/b&gt;&lt;/td&gt;
  &lt;td class="xl68" style="width:107pt;"&gt;&lt;b&gt;TimeStamp_PST&lt;/b&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 11:48:57&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 11:48:32&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 11:48:59&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 11:48:34&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 13:57:54&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 13:57:29&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 18:30:03&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 14:37:22&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td class="xl65"&gt;Ready to Talking&lt;/td&gt;
  &lt;td class="xl66"&gt;07/07/2010 14:36:56&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 09:27:11&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr style="height:15pt;"&gt;
  &lt;td class="xl66" style="height:15pt;"&gt;07/07/2010 10:20:46&lt;/td&gt;
  &lt;td class="xl65"&gt;Ason Asai&lt;/td&gt;
  &lt;td class="xl65"&gt;201216&lt;/td&gt;
  &lt;td class="xl65"&gt;31364&lt;/td&gt;
  &lt;td class="xl65"&gt;452395&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td&gt;&lt;br /&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/table&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Pls help ...Thanks&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to add a new article to existing publisher in transactional replication?</title><link>http://sql-server-performance.com/Community/forums/thread/165972.aspx</link><pubDate>Mon, 26 Jul 2010 22:09:45 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165972</guid><dc:creator>sql_er</dc:creator><slash:comments>4</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165972.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=18&amp;PostID=165972</wfw:commentRss><description>Hi,

We have transactional replication set up on our MSSQL 2000 servers.  I am trying to add a new article to the publisher, but it does not seem to work correctly.

Using the GUI interface, I added a new article.  I then ran the Snapshot agent, which seems to have not done anything.

I checked the publisher and see that i have 3 replication stored procedures created there.  However, I do not have them in the subscriber.

I do not want to reinitialize everything.

What can I do in this case to simply add an article to an existing publisher?

Thank you!</description></item><item><title>Log shipping Copy Job is Failing</title><link>http://sql-server-performance.com/Community/forums/thread/165981.aspx</link><pubDate>Tue, 27 Jul 2010 16:03:25 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165981</guid><dc:creator>RVG</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165981.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=71&amp;PostID=165981</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried to implement log shipping between two servers and I was successful in implementing but at the secondary server I&amp;#39;m not able to copy jobs on the secondary server from primary server. Everything is in the network and I&amp;#39;m not using any switches for transferring log between two servers.&lt;/p&gt;&lt;p&gt;Bye,&lt;/p&gt;&lt;p&gt;Ravi &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Analysis Services in SQL Server 2008</title><link>http://sql-server-performance.com/Community/forums/thread/165983.aspx</link><pubDate>Tue, 27 Jul 2010 17:58:52 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165983</guid><dc:creator>max_yogesh2002</dc:creator><slash:comments>0</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165983.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=60&amp;PostID=165983</wfw:commentRss><description>&lt;p&gt;I want to retrive the Current running value of the Following Analysis Service using SQL Query. &lt;/p&gt;
&lt;p&gt;1.Ad Hoc data mining &lt;/p&gt;
&lt;p&gt;2.Anonymous connection &lt;/p&gt;
&lt;p&gt;3.Linked Objects &lt;/p&gt;
&lt;p&gt;4/User Defined Functions &lt;/p&gt;
&lt;p&gt;Please help me &lt;/p&gt;
&lt;p&gt;Thank You. &lt;/p&gt;</description></item><item><title>Overflow Error with Performance DashBoard</title><link>http://sql-server-performance.com/Community/forums/thread/165820.aspx</link><pubDate>Wed, 07 Jul 2010 20:17:23 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165820</guid><dc:creator>sonnysingh</dc:creator><slash:comments>5</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165820.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165820</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;&lt;p&gt;I have following error came up when I click on any &amp;nbsp;blue region in the chart for the SQL CPU 
utilization on the performance dashboard where you normally would get 
further info (reports for the last 15 minutes).&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;quot;Difference of two datetime columns caused overflow at runtime&amp;quot;.&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I have seen the solution and implemented in usp_Main_GetSessionInfo SP but error still coming up.... &lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;quot;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,&amp;quot;&lt;/b&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in Advance&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>logon logout auditing</title><link>http://sql-server-performance.com/Community/forums/thread/165948.aspx</link><pubDate>Wed, 21 Jul 2010 10:37:44 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165948</guid><dc:creator>avipenina</dc:creator><slash:comments>1</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165948.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165948</wfw:commentRss><description>&lt;p&gt;&lt;span id="_ctl5_ctlTopic_ctlPanelBar_ctlTopicsRepeater__ctl4_lblFullMessage"&gt;Hi,&lt;br /&gt;I need to audit after logon and logout for users.&lt;br /&gt;i use this article http://www.sqlservercentral.com/articles/SQLServerCentral/sqlserver2005logontriggers/2366/&lt;br /&gt;but i need to adjust it for this scenario.&lt;br /&gt;i need to capture the first logon for the user and the last logout for the user and not all logon and logout that the user do while he is in the ERP.&lt;br /&gt;how can i adjust the script for that or do i need different approach?&lt;br /&gt;&lt;br /&gt;THX&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Views v Stored Procedures</title><link>http://sql-server-performance.com/Community/forums/thread/156109.aspx</link><pubDate>Tue, 24 Feb 2009 05:14:24 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:156109</guid><dc:creator>Tricky</dc:creator><slash:comments>8</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/156109.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=62&amp;PostID=156109</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We&amp;nbsp;are in the process of familiarising ourselves with SQL 2008 having spent a number of years using&amp;nbsp;2000. My previous understanding&amp;nbsp;was that amongst other considerations, you may choose a stored procedure over a view as stored procedures are more efficient, due to caching execution plans etc. Is this still the case in 2008? &lt;/p&gt;
&lt;p&gt;Thanks in advance for your advice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Applying Service Pack</title><link>http://sql-server-performance.com/Community/forums/thread/165970.aspx</link><pubDate>Mon, 26 Jul 2010 21:09:56 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165970</guid><dc:creator>danny123</dc:creator><slash:comments>1</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165970.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=11&amp;PostID=165970</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;We are planning to apply Service Pack 2 for SQL Server 2005 servers. We have Active - Passive clustering.&lt;/p&gt;
&lt;p&gt;Is there anything we need to be carefull about. I am concerned about switching the services to another node after applying SP to first node because there will be a difference between configuration of two nodes at that time. One will be running on SP 1 and other on SP 2.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>In reporting services within a procedure if you want to call a report and save that report to a file location is there an utility like dtexec?</title><link>http://sql-server-performance.com/Community/forums/thread/165941.aspx</link><pubDate>Tue, 20 Jul 2010 15:44:03 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165941</guid><dc:creator>lcerni</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165941.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=3&amp;PostID=165941</wfw:commentRss><description>&lt;p&gt;I have learned that to execute a SSIS package from a procedure you can use the following code:&amp;nbsp; dtexec /SQL &amp;quot;\PackageName&amp;quot; /Decrypt &amp;quot;abcde&amp;quot;&amp;#39;&lt;/p&gt;
&lt;p&gt;In reporting services within a procedure if you want to call a report and save that report to a file location is there an utility like dtexec?&lt;/p&gt;</description></item><item><title>How to find a frequently executed sql that causes serious blocking issues?</title><link>http://sql-server-performance.com/Community/forums/thread/165961.aspx</link><pubDate>Fri, 23 Jul 2010 08:49:08 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165961</guid><dc:creator>Jelly0228</dc:creator><slash:comments>3</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165961.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165961</wfw:commentRss><description>&lt;p&gt;Recently there are&amp;nbsp;serious blocking issues occured in one&amp;nbsp;of our product databases, though I turned ON the 1222&amp;amp;3605 trace flags, there are no useful information written into the error log.&amp;nbsp; But I could tell from the &amp;quot;Blk by&amp;quot; field of sp_who2 that&amp;nbsp;there&amp;nbsp;were many sessions blocked. The number of blocked sessions were too much to find the first spid in the blocking chain.&lt;/p&gt;
&lt;p&gt;The problem&amp;nbsp;disappeared without any efforts been made.&amp;nbsp;My guess was: someone used one or more thread in the client application to process data, selecting &amp;nbsp;a few rows from a table for example, after the blocking encountered, he or she stopped the thread secretly. T&lt;strong&gt;he exection time for a single selection is very short, but the exection interval is too frequently, may 5~7 times per a second. If there are&amp;nbsp;other sessions&amp;nbsp;updating the same table, blocking&amp;nbsp;occurs.&lt;/strong&gt;&amp;nbsp;Parts of my colleagues like such&amp;nbsp;kind&amp;nbsp;of&amp;nbsp;ways to process data, which really make me have a&amp;nbsp;headache.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I don&amp;#39;t know why such blockings would be&amp;nbsp;recorded in the&amp;nbsp;error log by SQL Server. Does anyone have&amp;nbsp;a suggestion&amp;nbsp;that how to&amp;nbsp;find&amp;nbsp;the problem session?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>.rss file</title><link>http://sql-server-performance.com/Community/forums/thread/165960.aspx</link><pubDate>Thu, 22 Jul 2010 16:06:03 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165960</guid><dc:creator>lcerni</dc:creator><slash:comments>0</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165960.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=15&amp;PostID=165960</wfw:commentRss><description>&lt;p&gt;Reporting Services is absolutely new to me.&amp;nbsp; I have been requested to followed the steps in this blog &amp;quot;&lt;a href="http://sqlblog.com/blogs/roman_rehak/archive/2009/06/12/ssrs-report-rendering-from-command-prompt.aspx"&gt;http://sqlblog.com/blogs/roman_rehak/archive/2009/06/12/ssrs-report-rendering-from-command-prompt.aspx&lt;/a&gt;&amp;quot; to export the data to an excel spreadsheet from one report.&lt;/p&gt;
&lt;p&gt;This report (I guess this is the rdl file?) that I am using works due to a default parameter value that we have set @parameter.&amp;nbsp; Basically the query behind this is SELECT * FROM TableName WHERE &lt;a href="mailto:Parameter=@Parameter"&gt;Parameter=@Parameter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to create another report service script (.rss) to execute the same ABC report but with the additional functionality to pass in different parameter values for the @parameter and save the results to Excel.&lt;/p&gt;
&lt;p&gt;For example, I want to run this rdl file with Query1 (SELECT * FROM TableName WHERE Parameter=&amp;#39;X&amp;#39;) and export it into an excel worksheet with Sheet1 labeled as X.&amp;nbsp; Then I want to rerun this same rdl file with Query2 (SELECT * FROM TableName WHERE Parameter=&amp;#39;Y&amp;#39;) and export it into the same worksheet with Sheet2 labeled as Y. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the .rss file that I have created.&amp;nbsp; Is it possible to add the @parameter to it?&amp;nbsp; This looks like VB to me and I really don&amp;#39;t know VB.&lt;/p&gt;
&lt;p&gt;I think all I need is to alter the FileStream area but I&amp;nbsp;have not been successful.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Public Sub Main()&lt;br /&gt;&amp;nbsp; Dim format as string = &amp;quot;EXCEL&amp;quot;&lt;br /&gt;&amp;nbsp; Dim fileName as String = &amp;quot;C:\temp\reports\Test.xls&amp;quot;&lt;br /&gt;&amp;nbsp; Dim reportPath as String = &amp;quot;/ReportTest/ABC&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp; &amp;#39; Prepare Render arguments&lt;br /&gt;&amp;nbsp; Dim historyID as string = Nothing&lt;br /&gt;&amp;nbsp; Dim deviceInfo as string = Nothing&lt;br /&gt;&amp;nbsp; Dim extension as string = Nothing&lt;br /&gt;&amp;nbsp; Dim encoding as string &lt;br /&gt;&amp;nbsp; Dim mimeType as string &lt;br /&gt;&amp;nbsp; Dim warnings() AS Warning = Nothing&lt;br /&gt;&amp;nbsp; Dim streamIDs() as string = Nothing&lt;br /&gt;&amp;nbsp; Dim results() as Byte&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; rs.LoadReport(reportPath, historyID)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; results = rs.Render(format,&amp;nbsp; deviceInfo, extension, mimeType, encoding,&amp;nbsp; warnings, streamIDs)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;#39; Open a file stream and write out the report&lt;br /&gt;&amp;nbsp; Dim stream&amp;nbsp; As FileStream = File.OpenWrite(fileName)&lt;br /&gt;&amp;nbsp; stream.Write(results, 0, results.Length)&lt;br /&gt;&amp;nbsp; stream.Close()&lt;br /&gt;End Sub&lt;/p&gt;</description></item><item><title>USER IS UNABLE TO REACH THE DATABASE WITH ERROR: 17189 </title><link>http://sql-server-performance.com/Community/forums/thread/165952.aspx</link><pubDate>Wed, 21 Jul 2010 23:46:05 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165952</guid><dc:creator>shashank sharma</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165952.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165952</wfw:commentRss><description>&lt;p&gt;Hi all, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I know you all gonna direct me to to memory issue, with below error. But would like to know&amp;nbsp;if there is any time beeing, fix for this issue, without restarting SQL Server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Event Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error &lt;br /&gt;Event Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSSQLSERVER &lt;br /&gt;Event Category:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (4) &lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17189 &lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7/21/2010 &lt;br /&gt;Time:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6:49:43 PM &lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A &lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XX XXX XXX XXXX&lt;br /&gt;Description: &lt;br /&gt;SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems. [CLIENT: 11.111.111.11] &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SSIS on 2 nodes cluster</title><link>http://sql-server-performance.com/Community/forums/thread/165664.aspx</link><pubDate>Wed, 23 Jun 2010 15:06:09 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165664</guid><dc:creator>shabnyc</dc:creator><slash:comments>19</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165664.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165664</wfw:commentRss><description>&lt;p&gt;Hi All, I am new to cluster environment.&lt;/p&gt;
&lt;p&gt;we have 2 nodes cluster active/passive, we&amp;nbsp;have an&amp;nbsp;SSIS package in the virtual node. the package should run and&amp;nbsp;copy data from another server into databases in the cluster. the package always fails. my question is where should we&amp;nbsp;execute the ssis from? Is it from virtual machine or from the active node. when I want to add objects to the database in the cluster, should I add it in the virtual machine or add to the active node. &lt;/p&gt;
&lt;p&gt;your help is appreciated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Encryption error when creating  creditial in sql 2005</title><link>http://sql-server-performance.com/Community/forums/thread/165943.aspx</link><pubDate>Wed, 21 Jul 2010 04:03:13 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165943</guid><dc:creator>contactjimmyus</dc:creator><slash:comments>1</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165943.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165943</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp; to create a proxy account to run xp_cmdshell procedure in 2005 .I tried to create a credintial and it gives me decryption error .Is this was with service master key issue ? .I dont have the old copy of the service master key .Did&amp;nbsp;recreating&amp;nbsp;the master key will resolve the issue.In the server there is no&amp;nbsp;database keys used .Only in msdb there exist ms_agentkey .....The data base was moved from an old server to a new machine 4 years back&lt;/p&gt;
&lt;p&gt;Recreating the master key will resolve the error ?&amp;nbsp;Please suggest the alternatives&amp;nbsp; so that i can create the proxy account on the server.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>@@version year</title><link>http://sql-server-performance.com/Community/forums/thread/165899.aspx</link><pubDate>Thu, 15 Jul 2010 19:01:51 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165899</guid><dc:creator>i.netdeveloper</dc:creator><slash:comments>4</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165899.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=19&amp;PostID=165899</wfw:commentRss><description>&lt;p&gt;Hi, I want to&amp;nbsp;a script based on sql server version year, because some objects are not supported in 2000. We have two enviorments.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;something like&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if @@version = &amp;#39;Microsoft Sqlserver 2000&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;--do this&lt;/p&gt;
&lt;p&gt;if @@version =&amp;#39;Microsoft Sqlserver&amp;nbsp; 2008&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-- do this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I really appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;</description></item><item><title>How to save binary file from Sql Server database to the server hard disk using SQL</title><link>http://sql-server-performance.com/Community/forums/thread/165919.aspx</link><pubDate>Mon, 19 Jul 2010 07:43:46 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165919</guid><dc:creator>tarekj</dc:creator><slash:comments>3</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165919.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=6&amp;PostID=165919</wfw:commentRss><description>Hi,

I&amp;#39;m Using:

SELECT * FROM OPENROWSET(BULK &amp;#39;G:\1.jpg&amp;#39;, SINGLE_BLOB)


to save binary files from hard disk to sql server database


Now I need an SQL code to retrieve a binary file from Sql Server database to hard disk.


Also, is there a better method than using &amp;quot; OPENROWSET &amp;quot;?
</description></item><item><title>Migrate log shipping standby server to new server</title><link>http://sql-server-performance.com/Community/forums/thread/165918.aspx</link><pubDate>Mon, 19 Jul 2010 04:37:37 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165918</guid><dc:creator>yhchan2005</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165918.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=17&amp;PostID=165918</wfw:commentRss><description>Hi, my company just bought a new server with high powerful spec. currently i am using 1 server which is doing log shipping standby server, would like to know the step to transfer/ move the database to the new server. My DB size now is around 400GB, backup and restore will take very long time, hope to get some simple way to do it. thanks.</description></item><item><title>What is the internal representation of all the datatypes.</title><link>http://sql-server-performance.com/Community/forums/thread/165885.aspx</link><pubDate>Thu, 15 Jul 2010 07:04:33 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165885</guid><dc:creator>baburk</dc:creator><slash:comments>4</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165885.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=61&amp;PostID=165885</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;What is the internal representation of all the datatypes.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Babu Kumaraasamy&lt;/p&gt;</description></item><item><title>@@version year</title><link>http://sql-server-performance.com/Community/forums/thread/165900.aspx</link><pubDate>Thu, 15 Jul 2010 19:04:06 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165900</guid><dc:creator>i.netdeveloper</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165900.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=61&amp;PostID=165900</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hi, I want to&amp;nbsp;a script based on sql server version year, because some objects are not supported in 2000. We have two enviorments.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;something like&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if @@version = &amp;#39;Microsoft Sqlserver 2000&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;--do this&lt;/p&gt;
&lt;p&gt;if @@version =&amp;#39;Microsoft Sqlserver&amp;nbsp; 2008&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-- do this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I really appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;&lt;/div&gt;</description></item><item><title>How to monitor the memory usage through DBCC Perf</title><link>http://sql-server-performance.com/Community/forums/thread/165886.aspx</link><pubDate>Thu, 15 Jul 2010 07:35:25 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165886</guid><dc:creator>y.koteswarrao</dc:creator><slash:comments>3</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165886.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165886</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it possible to monitor the memory usage through DBCC Perf command..........&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Koteswarrao &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Login Locked Out Tab is disabled</title><link>http://sql-server-performance.com/Community/forums/thread/165878.aspx</link><pubDate>Wed, 14 Jul 2010 14:21:47 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165878</guid><dc:creator>y.koteswarrao</dc:creator><slash:comments>2</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165878.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=5&amp;PostID=165878</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;Iam a sysadmin,i saw that Login properties-&amp;gt;status-&amp;gt;&amp;quot;Login is Locked Out tab is showing disabled always,unable to check or uncheck the box.........&lt;/p&gt;&lt;p&gt;&amp;nbsp;Use SQL SERVER 2005 32bit&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If any one know please let me know&lt;/p&gt;&lt;p&gt;koteswar rao &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Primary Key required for "Junction table" ?</title><link>http://sql-server-performance.com/Community/forums/thread/165869.aspx</link><pubDate>Wed, 14 Jul 2010 05:56:25 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165869</guid><dc:creator>Tricky</dc:creator><slash:comments>5</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165869.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=3&amp;PostID=165869</wfw:commentRss><description>I have a table which is purely used for creating many-to-many relationships, hence all fields are foreign keys of other tables. Should I still include a primary key for this table?</description></item><item><title>Disabling Snapshot Replication</title><link>http://sql-server-performance.com/Community/forums/thread/165867.aspx</link><pubDate>Tue, 13 Jul 2010 19:19:24 GMT</pubDate><guid isPermaLink="false">5b41e7a1-0e3d-48f8-8160-247271f4496a:165867</guid><dc:creator>lcerni</dc:creator><slash:comments>3</slash:comments><comments>http://sql-server-performance.com/Community/forums/thread/165867.aspx</comments><wfw:commentRss>http://sql-server-performance.com/Community/forums/commentrss.aspx?SectionID=3&amp;PostID=165867</wfw:commentRss><description>&lt;p&gt;Today I set up Snapshot Replication to replicate some&amp;nbsp;tables from production to development.&amp;nbsp; Then&amp;nbsp;another individual went to rename one of the tables and recreate the replicated table.&amp;nbsp; Is there a way to disable Snapshot Replication (and not delete the whole process) so that the individual can rename the table to x_20100713 and then recreate the table x?&amp;nbsp; Then I would enable Snapshot Replication.&lt;/p&gt;</description></item></channel></rss>