<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for youdidwhatwithtsql.com</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:02:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Cannot resolve the collation conflict by Suhas</title>
		<link>http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176/comment-page-1#comment-1988</link>
		<dc:creator>Suhas</dc:creator>
		<pubDate>Sat, 04 Feb 2012 06:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176#comment-1988</guid>
		<description>Hi Rhys.

Hmmm....Thanks for the reply. Thats what I&#039;ll do. 

As of existing SQL Server installations....will start changing the collation of temp tables.

Thanks, God Bless n have smiling roads ahead 

:)Suhas Pandit</description>
		<content:encoded><![CDATA[<p>Hi Rhys.</p>
<p>Hmmm&#8230;.Thanks for the reply. Thats what I&#8217;ll do. </p>
<p>As of existing SQL Server installations&#8230;.will start changing the collation of temp tables.</p>
<p>Thanks, God Bless n have smiling roads ahead </p>
<p> <img src='http://www.youdidwhatwithtsql.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Suhas Pandit</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cannot resolve the collation conflict by Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176/comment-page-1#comment-1984</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Fri, 03 Feb 2012 09:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176#comment-1984</guid>
		<description>Hi Suhas,

That&#039;s all that comes to mind apart form changing the server collation itself which won&#039;t be fun - http://msdn.microsoft.com/en-us/library/ms179254.aspx

It helps having a standard build document explicitly stating the collation. 

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Suhas,</p>
<p>That&#8217;s all that comes to mind apart form changing the server collation itself which won&#8217;t be fun &#8211; <a href="http://msdn.microsoft.com/en-us/library/ms179254.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms179254.aspx</a></p>
<p>It helps having a standard build document explicitly stating the collation. </p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cannot resolve the collation conflict by Suhas</title>
		<link>http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176/comment-page-1#comment-1983</link>
		<dc:creator>Suhas</dc:creator>
		<pubDate>Fri, 03 Feb 2012 05:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176#comment-1983</guid>
		<description>Hi Rhys,

Thanks for the quick reply. 

Thats a prospective solution but its a really a long n time consuming process since i gotta find the temp table usage in my 1000+ procedures &amp; replace them. 

I was just wondering if there can be better solution. 

I have currently changed the collation of the database itself and told my collagues to check up on the Collation options the next time they install SQL Server on a system.

Thanks for the quick reply.

God Bless and have smiling roads ahead.

:) Suhas Pandit</description>
		<content:encoded><![CDATA[<p>Hi Rhys,</p>
<p>Thanks for the quick reply. </p>
<p>Thats a prospective solution but its a really a long n time consuming process since i gotta find the temp table usage in my 1000+ procedures &amp; replace them. </p>
<p>I was just wondering if there can be better solution. </p>
<p>I have currently changed the collation of the database itself and told my collagues to check up on the Collation options the next time they install SQL Server on a system.</p>
<p>Thanks for the quick reply.</p>
<p>God Bless and have smiling roads ahead.</p>
<p> <img src='http://www.youdidwhatwithtsql.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Suhas Pandit</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cannot resolve the collation conflict by Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176/comment-page-1#comment-1981</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Thu, 02 Feb 2012 15:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176#comment-1981</guid>
		<description>Hi Suhas,

You can specify the collation when you create the temp table &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ms190920.aspx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;.

Cheers,

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Suhas,</p>
<p>You can specify the collation when you create the temp table <a href="http://msdn.microsoft.com/en-us/library/ms190920.aspx" target="_blank" rel="nofollow">link</a>.</p>
<p>Cheers,</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cannot resolve the collation conflict by Suhas</title>
		<link>http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176/comment-page-1#comment-1980</link>
		<dc:creator>Suhas</dc:creator>
		<pubDate>Thu, 02 Feb 2012 14:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/cannot-resolve-the-collation-conflict/176#comment-1980</guid>
		<description>Hey Nice Article. 

My problem is a bit related to the one mentioned. I use a temporary table in SQL to get some complex table. Then finally to show the output I query this temp table and some other tables in my database.

The problem for me is that my temp table is taking, by default, the collation of the SQL Server which has a collation different from that of my database. 

How can i solve this...since i have used many temp tables in my database and all of them shout error in unison when such collation issues occur :(</description>
		<content:encoded><![CDATA[<p>Hey Nice Article. </p>
<p>My problem is a bit related to the one mentioned. I use a temporary table in SQL to get some complex table. Then finally to show the output I query this temp table and some other tables in my database.</p>
<p>The problem for me is that my temp table is taking, by default, the collation of the SQL Server which has a collation different from that of my database. </p>
<p>How can i solve this&#8230;since i have used many temp tables in my database and all of them shout error in unison when such collation issues occur <img src='http://www.youdidwhatwithtsql.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check for failed SQL Agent Jobs with Powershell by Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/check-for-failed-sql-agent-jobs-with-powershell/212/comment-page-1#comment-1976</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Mon, 30 Jan 2012 19:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/check-for-failed-sql-agent-jobs-with-powershell/212#comment-1976</guid>
		<description>Hi Vinay,

Very easily. Just append the job output to a variable and then output it after your title.

i.e.

Instead of 
&lt;code&gt;
Write-Host -ForegroundColor $colour &quot;SERVER = $sqlserver JOB = $jobName ENABLED = $jobEnabled LASTRUN = $jobLastRunOutcome&quot;;
&lt;/code&gt;
Do..

&lt;code&gt;
$output += &quot;SERVER = $sqlserver JOB = $jobName ENABLED = $jobEnabled LASTRUN = $jobLastRunOutcome&quot;;
&lt;/code&gt;

Don&#039;t forget to reset $output for each server.

See this for &lt;a href=&quot;http://www.youdidwhatwithtsql.com/send-email-with-powershell/889&quot; title=&quot;Emailing with Powershell&quot; rel=&quot;nofollow&quot;&gt;emailing with Powershell&lt;/a&gt;

Cheers,

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Vinay,</p>
<p>Very easily. Just append the job output to a variable and then output it after your title.</p>
<p>i.e.</p>
<p>Instead of<br />
<code><br />
Write-Host -ForegroundColor $colour "SERVER = $sqlserver JOB = $jobName ENABLED = $jobEnabled LASTRUN = $jobLastRunOutcome";<br />
</code><br />
Do..</p>
<p><code><br />
$output += "SERVER = $sqlserver JOB = $jobName ENABLED = $jobEnabled LASTRUN = $jobLastRunOutcome";<br />
</code></p>
<p>Don&#8217;t forget to reset $output for each server.</p>
<p>See this for <a href="http://www.youdidwhatwithtsql.com/send-email-with-powershell/889" title="Emailing with Powershell" rel="nofollow">emailing with Powershell</a></p>
<p>Cheers,</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check for failed SQL Agent Jobs with Powershell by Vinay</title>
		<link>http://www.youdidwhatwithtsql.com/check-for-failed-sql-agent-jobs-with-powershell/212/comment-page-1#comment-1974</link>
		<dc:creator>Vinay</dc:creator>
		<pubDate>Mon, 30 Jan 2012 10:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/check-for-failed-sql-agent-jobs-with-powershell/212#comment-1974</guid>
		<description>hi,

how to print the overview output first and all job details after that. what i want is 
first shud be 
servername total jobs=10 success count=10 failed jobs=0
then 
all job details one by one.. how to acheive this?? 

and one more thing how to mail this entire output???

Thanks in Advance</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>how to print the overview output first and all job details after that. what i want is<br />
first shud be<br />
servername total jobs=10 success count=10 failed jobs=0<br />
then<br />
all job details one by one.. how to acheive this?? </p>
<p>and one more thing how to mail this entire output???</p>
<p>Thanks in Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Error dropping database (can&#8217;t rmdir &#8216;./database&#8217;, errno: 39) by en</title>
		<link>http://www.youdidwhatwithtsql.com/error-dropping-database-cant-rmdir-database-errno-39/801/comment-page-1#comment-1972</link>
		<dc:creator>en</dc:creator>
		<pubDate>Sun, 29 Jan 2012 05:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/error-dropping-database-cant-rmdir-database-errno-39/801#comment-1972</guid>
		<description>Thank you. I did not see any suspicious files but deleting the *.frm files worked for me.</description>
		<content:encoded><![CDATA[<p>Thank you. I did not see any suspicious files but deleting the *.frm files worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on View or function &#8216;dbo.Viewname&#8217; has more column names specified than columns defined by Stephen Turner</title>
		<link>http://www.youdidwhatwithtsql.com/view-or-function-dbo-tablename-has-more-column-names-specified-than-columns-defined/546/comment-page-1#comment-1952</link>
		<dc:creator>Stephen Turner</dc:creator>
		<pubDate>Thu, 26 Jan 2012 12:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/view-or-function-dbo-tablename-has-more-column-names-specified-than-columns-defined/546#comment-1952</guid>
		<description>Of course if it&#039;s a function that depends on your altered view then you will need to execute this instead:

EXEC sys.sp_refreshsqlmodule &#039;dbo.FunctionName&#039;;</description>
		<content:encoded><![CDATA[<p>Of course if it&#8217;s a function that depends on your altered view then you will need to execute this instead:</p>
<p>EXEC sys.sp_refreshsqlmodule &#8216;dbo.FunctionName&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Check disk space with Powershell by Jeff</title>
		<link>http://www.youdidwhatwithtsql.com/check-disk-space-with-powershell-2/195/comment-page-1#comment-1858</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 06 Jan 2012 15:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/check-disk-space-with-powershell-2/195#comment-1858</guid>
		<description>Thanks for the script.  I was looking for something like this to monitor a server that fills up on occasion.  You saved me a lot of time by publishing this script.

Cheers.

Jeff</description>
		<content:encoded><![CDATA[<p>Thanks for the script.  I was looking for something like this to monitor a server that fills up on occasion.  You saved me a lot of time by publishing this script.</p>
<p>Cheers.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

