<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Simons SQL Blog : Bugs</title><link>http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx</link><description>Tags: Bugs</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Do you use schemas? would you like keyboard shortcuts in SSMS to work with them</title><link>http://sqlblogcasts.com/blogs/simons/archive/2011/06/01/do-you-use-schemas-would-you-like-keyboard-shortcuts-in-ssms-to-work-with-them.aspx</link><pubDate>Wed, 01 Jun 2011 08:16:49 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:15670</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=15670</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=15670</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2011/06/01/do-you-use-schemas-would-you-like-keyboard-shortcuts-in-ssms-to-work-with-them.aspx#comments</comments><description>If you use schemas then you will know that keyboard shortcuts don’t work with them due to the period (.) in between the schema and the object name. If you would like the SQL team to fix this, then vote on this connect item https://connect.microsoft.com...(&lt;a href="http://sqlblogcasts.com/blogs/simons/archive/2011/06/01/do-you-use-schemas-would-you-like-keyboard-shortcuts-in-ssms-to-work-with-them.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=15670" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Connect/default.aspx">Connect</category></item><item><title>FTP doesn’t work with proxy accounts in SQL Agent – calloc error</title><link>http://sqlblogcasts.com/blogs/simons/archive/2010/11/08/ftp-doesn-t-work-with-proxy-accounts-in-sql-agent-calloc-error.aspx</link><pubDate>Mon, 08 Nov 2010 13:42:18 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:15022</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=15022</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=15022</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2010/11/08/ftp-doesn-t-work-with-proxy-accounts-in-sql-agent-calloc-error.aspx#comments</comments><description>Not sure this is a windows server 2008 R2 feature or more wide spread, I would guess that it applies to all windows operating systems. If you try and user a proxy account for a sql agent job that does an FTP using the windows FTP.exe , whether through...(&lt;a href="http://sqlblogcasts.com/blogs/simons/archive/2010/11/08/ftp-doesn-t-work-with-proxy-accounts-in-sql-agent-calloc-error.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=15022" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SSIS+-+Integration+Services/default.aspx">SSIS - Integration Services</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/ftp/default.aspx">ftp</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/sql+agent/default.aspx">sql agent</category></item><item><title>SQL Intellisense doesn’t work with CAST</title><link>http://sqlblogcasts.com/blogs/simons/archive/2010/10/16/sql-intellisense-doesn-t-work-with-cast.aspx</link><pubDate>Sat, 16 Oct 2010 07:12:47 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:14906</guid><dc:creator>simonsabin</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=14906</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=14906</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2010/10/16/sql-intellisense-doesn-t-work-with-cast.aspx#comments</comments><description>If you find this behaviour very frustrating then please vote https://connect.microsoft.com/SQLServer/feedback/details/614130/intellisense-doesnt-work-with-cast The problem is that CAST invokes the intellisense drop down when you type AS, when it shouldn...(&lt;a href="http://sqlblogcasts.com/blogs/simons/archive/2010/10/16/sql-intellisense-doesn-t-work-with-cast.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=14906" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category></item><item><title>Error: The type of the value being assigned to variable ?? differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object</title><link>http://sqlblogcasts.com/blogs/simons/archive/2010/01/19/Error--The-type-of-the-value-being-assigned-to-variable----differs-from-the-current-variable-type--Variables-may-not-change-type-during-execution--Variable-types-are-strict--except-for-variables-of-type-Object.aspx</link><pubDate>Tue, 19 Jan 2010 19:05:14 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12885</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=12885</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=12885</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2010/01/19/Error--The-type-of-the-value-being-assigned-to-variable----differs-from-the-current-variable-type--Variables-may-not-change-type-during-execution--Variable-types-are-strict--except-for-variables-of-type-Object.aspx#comments</comments><description>
&lt;p&gt;If you get the above error and you have no idea why (i.e 
you haven&amp;#39;t changed the data type of a variable) then&amp;nbsp;it is likely due to a 
data type inference issue with SSIS. You might think that SQL is returning a 
value of one type when in fact it isn&amp;#39;t its returning something else.&lt;/p&gt;
&lt;p&gt;This occurs with a number of functions in SQL, the key is that you think your 
SQL is returning an integer when in fact its returning a decimal or a data type 
that &lt;a href="http://www.amazon.com/gp/search?ie=UTF8&amp;amp;keywords=sql%20server%20integration%20services&amp;amp;tag=simonsblog-20&amp;amp;index=books&amp;amp;linkCode=ur2&amp;amp;camp=1789&amp;amp;creative=9325"&gt;SQL Server Integration services&lt;/a&gt; maps to a string.&lt;/p&gt;
&lt;p&gt;Two fiunctions I&amp;#39;ve encountered this are row_number and scope_identity. &lt;/p&gt;
&lt;p&gt;The solution is to explicitly cast your columns in your query you return to 
&lt;a href="http://www.amazon.com/gp/search?ie=UTF8&amp;amp;keywords=sql%20server%20integration%20services&amp;amp;tag=simonsblog-20&amp;amp;index=books&amp;amp;linkCode=ur2&amp;amp;camp=1789&amp;amp;creative=9325"&gt;SQL Server Integration services&lt;/a&gt; i.e. cast(scope_identity() as int) or cast(row_number() over (order by 
somecolumn) as int) &lt;/p&gt;
&lt;p&gt;If you encounter this you can check [BOL] to see what data type is returned 
by the function. &lt;/p&gt;
&lt;p&gt;The issue is documented on the SSIS team blog &lt;font color="#800080"&gt;&lt;u&gt;Why 
can’t I store my &lt;strong&gt;BIGINT&lt;/strong&gt; result in an Int64 ...&lt;/u&gt;&lt;/font&gt;&lt;font color="#000000"&gt;.&amp;nbsp;This is the same issue.&lt;/font&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt; 
&lt;/script&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12885" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SSIS+-+Integration+Services/default.aspx">SSIS - Integration Services</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category></item><item><title>User defined function performance is awful, Micorosft please sort this out</title><link>http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/User-defined-function-performance-is-awful--Micorosft-please-sort-this-out.aspx</link><pubDate>Thu, 14 Jan 2010 19:21:13 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12856</guid><dc:creator>simonsabin</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=12856</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=12856</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/User-defined-function-performance-is-awful--Micorosft-please-sort-this-out.aspx#comments</comments><description>
&lt;p&gt;User defined functions looked like something great when 
they were introduced in SQL 2005. They are a very logical step to make more code 
reuseable by wrapping common code in functions. It is an approach that is in 
development 101 and something everyone does and looks to doing.&lt;/p&gt;
&lt;p&gt;So what is the problem with SQL Server.&lt;/p&gt;
&lt;p&gt;Well the issue is that whilst there are great from a reducation of duplicated 
code the performance sucks, and sucks big time. I wrote about this a&amp;nbsp;year 
ago&amp;nbsp;&lt;u&gt;&lt;font color="#800080"&gt;TSQL &lt;strong&gt;Scalar&lt;/strong&gt; 
&lt;strong&gt;functions&lt;/strong&gt; are &lt;strong&gt;evil&lt;/strong&gt;&lt;/font&gt;&lt;/u&gt;&amp;nbsp;and have 
spoke about it at many usergroups over the years.&lt;/p&gt;
&lt;p&gt;Almost every client I&amp;#39;ve seen over the past 2 years has implemented functions 
because it is the logical thing to do. However they&amp;#39;ve then been bitten big 
style by the performance issue. To make the matter worse use of scalar functions 
also gets in the way of supporting code, try and do a stmt level profile or 
something I found this week try and capture query plans in profiler. Because 
each of these is considered a block of code it results in stmtCompeleted and 
starting events to fire and for query plan event to fire.&lt;/p&gt;
&lt;p&gt;At a recent client I was able to tune a query from 3 minutes to 3 seconds 
using the tricks in &amp;quot;&lt;u&gt;&lt;font color="#800080"&gt;TSQL &lt;strong&gt;Scalar&lt;/strong&gt; 
&lt;strong&gt;functions&lt;/strong&gt; are &lt;strong&gt;evil&amp;quot; &lt;/strong&gt;&lt;/font&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Scalar user defined functions are the worst thing in SQL 
Server and something needs to be done about them. I feel this is a bug in the 
product and have posted as such here &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=273443"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=273443&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have been bitten by this bug please vote for the item on connect go 
here &amp;quot;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=273443"&gt;Vote 
for changing user defined functions so they perform better&lt;/a&gt;&amp;nbsp;&amp;quot;&lt;/p&gt;
&lt;p&gt;[SS 2010/01/19 I&amp;#39;ve been told my connect item is a duplicate and so has been 
closed. SO please vote on this item instead &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=273443"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=273443&lt;/a&gt;&amp;nbsp;The 
links above now point to this connect item]&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font color="#800080"&gt;&lt;/font&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt;&lt;hr /&gt;
&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt; 
&lt;/script&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12856" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Performance/default.aspx">Performance</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/TSQL/default.aspx">TSQL</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Engine/default.aspx">SQL Engine</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Profiler/default.aspx">SQL Profiler</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Query+Tuning/default.aspx">Query Tuning</category></item><item><title>"unable to switch the encoding" when deploying XML Schemas using Database Professional</title><link>http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/-unable-to-switch-the-encoding--when-deploying-XML-Schemas-using-Database-Professional.aspx</link><pubDate>Thu, 14 Jan 2010 17:14:33 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:12853</guid><dc:creator>simonsabin</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=12853</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=12853</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/-unable-to-switch-the-encoding--when-deploying-XML-Schemas-using-Database-Professional.aspx#comments</comments><description>
&lt;p&gt;I&amp;#39;ve just blogeed about how to &lt;a href="http://sqlblogcasts.com/blogs/simons/archive/2010/01/14/XML-Schema-Collection-in-Database-Professional-Project.aspx"&gt;use 
XML Schema Collections in Visual Studio Database Professional Project&lt;/a&gt;           
       &lt;/p&gt;
&lt;p&gt;I mentioned there is one gotcha about. The gotcha is if you have UTF-8 
&amp;nbsp;encoded schemas then they fail to be deployed. This is because they get 
deployed using &lt;/p&gt;
&lt;p&gt;CREATE XML SCHEMA COLLECTION 
[dbo].[LogiPointRec]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AS N&amp;#39;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; 
encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/p&gt;
&lt;p&gt;Note the N&amp;#39; this results in the following error&lt;/p&gt;
&lt;p&gt;XML parsing: line 1, character 38, unable to switch the encoding&lt;/p&gt;
&lt;p&gt;To get round this I haven&amp;#39;t found a way for Database Professional to not use 
the unicode prefix, so you have to change to UTF-16 encoding of you schema. I&amp;#39;ve 
reported this here &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=524977"&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=524977&lt;/a&gt;&amp;nbsp;so 
please vote if you have the same problem.&lt;/p&gt;&lt;hr /&gt;
&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt; 
&lt;/script&gt;
&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12853" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/XML/default.aspx">XML</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Data+Dude/default.aspx">Data Dude</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category></item><item><title>A significant part of sql server process memory has been paged out</title><link>http://sqlblogcasts.com/blogs/simons/archive/2009/03/10/A-significant-part-of-sql-server-process-memory-has-been-paged-out.aspx</link><pubDate>Tue, 10 Mar 2009 21:52:46 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:11424</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=11424</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=11424</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2009/03/10/A-significant-part-of-sql-server-process-memory-has-been-paged-out.aspx#comments</comments><description>
&lt;p&gt;Do you have the following occuring on your SQL Server 
system.&lt;/p&gt;
&lt;p&gt;If so it is likely you are running SQL Server 2005 or SQL Server 2008 
Standard edition on x64 hardware.&lt;/p&gt;
&lt;p&gt;It will be causing you serious performance issues when it occurs, as all your 
database pages will be removed from memory and thus SQL will have to read them 
again from disk. The MVP community and especially Maciej Pilecki is trying to 
get Microsoft to do something more proactive about it.&lt;/p&gt;
&lt;p&gt;The problem is due to bugs in third party drivers and OS bugs.&lt;/p&gt;
&lt;p&gt;According to Microsoft all known bugs have been fixed by the relevant vendors 
and so you shouldn&amp;#39;t be experiencing this issue, if you update your system&lt;/p&gt;
&lt;p&gt;If you are still experiencing this, which we believ many people still are, 
then you must contact customer support&amp;nbsp; (&lt;a href="https://support.microsoft.com/oas/default.aspx?iid=246306&amp;amp;iguid=bd81e653-64b3-4bf7-bec9-798309406d4d_2_1&amp;amp;ln=en-gb&amp;amp;prid=9455&amp;amp;gprid=347865)%20to"&gt;https://support.microsoft.com/oas/default.aspx?iid=246306&amp;amp;iguid=bd81e653-64b3-4bf7-bec9-798309406d4d_2_1&amp;amp;ln=en-gb&amp;amp;prid=9455&amp;amp;gprid=347865) 
to&lt;/a&gt; get the to provide you with details of the updates that you will need to 
apply to your system. My understanding is that this will not cost you anything, 
as it is a known bug. (Some are detailed here &lt;a href="http://blogs.msdn.com/psssql/archive/2007/05/31/the-sql-server-working-set-message.aspx"&gt;http://blogs.msdn.com/psssql/archive/2007/05/31/the-sql-server-working-set-message.aspx&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If after contacting CSS you are unable to get an immediate fix, or they want 
you to pay please comment and vote on this connect item &lt;/p&gt;
&lt;p&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=422322"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=422322&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Or send me email using this form &lt;a href="http://sqlblogcasts.com/blogs/simons/contact.aspx"&gt;http://sqlblogcasts.com/blogs/simons/contact.aspx&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
-

&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=11424" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Performance/default.aspx">Performance</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005+SP2/default.aspx">SQL Server 2005 SP2</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category></item><item><title>Gotchas in Management Studio 2008</title><link>http://sqlblogcasts.com/blogs/simons/archive/2008/11/03/Gotchas-in-Management-Studio-2008.aspx</link><pubDate>Mon, 03 Nov 2008 23:09:48 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:10973</guid><dc:creator>simonsabin</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=10973</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=10973</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2008/11/03/Gotchas-in-Management-Studio-2008.aspx#comments</comments><description>
&lt;p&gt;If you script objects in management studio 2008 be 
careful its a bit forgetful. If you are using a case insensitive collation and 
you have objects that refer to other objects but use different case for the 
object names then when you try and script objects some might not be included. I 
found this when trying to script a function and two tables. The function 
referred to one of the tables but with a different case. Oddly this table didn&amp;#39;t 
get scripted.&lt;/p&gt;
&lt;p&gt;This has been fixed and will be available in an upcoming cumulative 
update.&lt;/p&gt;
&lt;p&gt;The next gotcha is using the debugging in SSMS 2008. You have to be careful 
if you cancel your debug session because the database you are connected to might 
change&lt;/p&gt;
&lt;p&gt;If you cancel a query that is in debug mode,&amp;nbsp;the query window will be 
connected to the database selected when the query window was opened. i.e. if you 
change the database before you start debugging the database will not be the same 
before and after cancelling the query,&lt;/p&gt;
&lt;p&gt;To repro.&lt;/p&gt;
&lt;p&gt;Open a new window this is likely to start in master&lt;br /&gt;change the database 
from the drop down say tempdb&lt;br /&gt;type wait for delay &amp;#39;00:00:10&amp;#39;&lt;br /&gt;start 
debugging&lt;br /&gt;cancel debugging&lt;br /&gt;you will now be connected to master and not 
tempdb.&lt;/p&gt;
&lt;p&gt;Be warned.&lt;br /&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=10973" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>What application doesn't have UNDO in today's world</title><link>http://sqlblogcasts.com/blogs/simons/archive/2007/11/06/What-application-doesn-t-have-UNDO-in-today-s-world.aspx</link><pubDate>Tue, 06 Nov 2007 14:43:36 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:3504</guid><dc:creator>simonsabin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=3504</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=3504</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2007/11/06/What-application-doesn-t-have-UNDO-in-today-s-world.aspx#comments</comments><description>
&lt;p&gt;Well the first that is close to my heart is Integration 
Services and its really annoying.&lt;/p&gt;
&lt;p&gt;I tried to track down a connect item for this but couldn&amp;#39;t find a specific 
one. So I raised one &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=308794"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=308794&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve been told that undo didn&amp;#39;t make the Katmai triage bar. Personally I 
think that&amp;#39;s just rediculous. If you agree make sure you vote on it. &lt;/p&gt;
&lt;p&gt;Next in the list is the reporting services dataset designer. There is an undo 
feature for the report, however it is inconsistent and can cause you to loose 
lots of changes if you hit undo whilst in the dataset designer. I know I&amp;#39;ve lost 
hours of work in doing this. I couldn&amp;#39;t find a connect item when I searched on 
&amp;quot;report designer undo&amp;quot; so I raised on.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=308790"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=308790&lt;/a&gt;. 
However when I further investigated this blog post I found this item &lt;a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=299431"&gt;https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=299431&lt;/a&gt;&amp;nbsp;which 
describes the situation as worse than mine. This one has been closed (by design) 
which seems an odd closure. However to make sure this is fixed you have to still 
vote on it.&lt;/p&gt;
&lt;p&gt;They are many blog posts that support this &lt;a href="http://blogs.conchango.com/jamiethomson/archive/2007/07/27/SSIS_3A00_-The-backlash-continues.aspx"&gt;http://blogs.conchango.com/jamiethomson/archive/2007/07/27/SSIS_3A00_-The-backlash-continues.aspx&lt;/a&gt;, 
&lt;a href="http://blogs.conchango.com/jamiethomson/archive/2005/05/09/1398.aspx"&gt;http://blogs.conchango.com/jamiethomson/archive/2005/05/09/1398.aspx&lt;/a&gt;, 
&lt;a href="http://www.ayende.com/Blog/archive/2007/07/15/SSIS-15-Faults.aspx"&gt;http://www.ayende.com/Blog/archive/2007/07/15/SSIS-15-Faults.aspx&lt;/a&gt;, 
&lt;a href="http://sqlblogcasts.com/blogs/simons/638.aspx"&gt;http://sqlblogcasts.com/blogs/simons/638.aspx&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=3504" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SSIS+-+Integration+Services/default.aspx">SSIS - Integration Services</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Community/default.aspx">Community</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Suggestions/default.aspx">Suggestions</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+Reporting+Services/default.aspx">SQL Server Reporting Services</category></item><item><title>Full text thesaurus files bug in documentation</title><link>http://sqlblogcasts.com/blogs/simons/archive/2007/09/22/Full-text-thesaurus-files-bug-in-documentation.aspx</link><pubDate>Sat, 22 Sep 2007 22:00:54 GMT</pubDate><guid isPermaLink="false">fa8c4e8e-46a3-4193-8264-2c1a9cb3475d:2556</guid><dc:creator>simonsabin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/rsscomments.aspx?PostID=2556</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sqlblogcasts.com/blogs/simons/commentapi.aspx?PostID=2556</wfw:comment><comments>http://sqlblogcasts.com/blogs/simons/archive/2007/09/22/Full-text-thesaurus-files-bug-in-documentation.aspx#comments</comments><description>
&lt;p&gt;I don&amp;#39;t normally blog about documentation errors 
generally because they&amp;#39;re often not that major however this one is fundamental 
what is being explained.&lt;/p&gt;
&lt;p&gt;This is the page online &lt;a href="http://msdn2.microsoft.com/en-us/library/7f5424a4-a72c-44dc-b455-786a12767c99.aspx"&gt;http://msdn2.microsoft.com/en-us/library/7f5424a4-a72c-44dc-b455-786a12767c99.aspx&lt;/a&gt;&amp;nbsp;It 
talks about creating new thesaurus files. Unfortunately the XML example is 
wrong. When I looked at it intially I was suprised because the diacritics 
element wasn&amp;#39;t valid XML. Well looking at the examples in the &amp;lt;SQL install 
folder&amp;gt;/FTData/ts????.xml you can see that the example in the documentation 
is wrong.&lt;/p&gt;
&lt;p&gt;The diacritics&amp;nbsp;element should be&lt;/p&gt;
&lt;p&gt;&amp;lt;diacritics_sensitive&amp;gt;0&amp;lt;/diacritics_sensitive&amp;gt;&lt;/p&gt;
&lt;p&gt;Being a good SQL Server citzen I have reported this via the feedback in BOL 
so I hope it should be fixed.&lt;/p&gt;
&lt;br /&gt;
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/Social_Buttons.js"&gt;&lt;/script&gt;
&lt;hr /&gt;
-
&lt;script type="text/javascript" src="http://sqlblogcasts.com/sitefiles/1000/google_rss.js"&gt;
&lt;/script&gt;
&lt;script type="text/javascript"&gt;var height=90;var width=720;&lt;/script&gt;
&lt;script src="http://www.sqlknowhow.com/scripts/Banner.js" type="text/javascript"&gt;
&lt;/script&gt;
 &lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=2556" width="1" height="1"&gt;</description><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Documentation/default.aspx">Documentation</category><category domain="http://sqlblogcasts.com/blogs/simons/archive/tags/Bugs/default.aspx">Bugs</category></item></channel></rss>