<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>Search results matching tags 'cumulative updates', 'T-SQL', and 'hotfixes'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=cumulative+updates,T-SQL,hotfixes&amp;orTags=0</link><description>Search results matching tags 'cumulative updates', 'T-SQL', and 'hotfixes'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Connect digest : 2009-06-12</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/12/connect-digest-2009-06-12.aspx</link><pubDate>Fri, 12 Jun 2009 14:30:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14478</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;Again I am a day early, as tomorrow I will be speaking at the &lt;a href="http://ctdotnet.org/codecamp2.aspx" title="http://ctdotnet.org/codecamp2.aspx" target="_blank"&gt;CTDOTNET CodeCamp&lt;/a&gt; in Hartford.&amp;nbsp; As a reminder, I am not begging for votes here, just raising visibility for new issues you may not have seen yet, or older issues that have entered my peripheral vision again for some reason.&lt;br&gt;&lt;/p&gt;&lt;p&gt;==================================&lt;/p&gt;&lt;p&gt;
&lt;b&gt;Better behaving hints&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Lakusha had a great suggestion to allow certain table/query hints to have an option to return warnings instead of errors.&amp;nbsp; The prime use case presented is the case where you drop an index on a view, then suddenly any query using WITH (NOEXPAND) against that view stops working.&amp;nbsp; The suggestion is that these queries could continue working and just ignore the table hint.&amp;nbsp; And this could apply to index hints as well, making them less of a no-no (not that that is necessarily a good thing, but YMMV).&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=293508" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=293508" target="_blank"&gt;#293508 : Some query hints Errors should have a Warning Only option&lt;/a&gt;&lt;br&gt;Current rating: 4.2 (5 votes)&lt;br&gt;&lt;/p&gt;&lt;p&gt;==================================&lt;/p&gt;&lt;p&gt;
&lt;b&gt;Streaming results &lt;/b&gt;&lt;br&gt;&lt;br&gt;Fellow MVP &lt;a href="http://sqlblog.com/blogs/adam_machanic/default.aspx" title="http://sqlblog.com/blogs/adam_machanic/default.aspx" target="_blank"&gt;Adam Machanic&lt;/a&gt;'s suggestion for better streaming of results within T-SQL would give us the flexibility of cursors without the performance hit, and would prevent us from having to use more complex solutions (e.g. CLR) when scaling to large results.&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=456349" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=456349" target="_blank"&gt;#456349 : Provide a streaming result interface via T-SQL&lt;/a&gt;&lt;br&gt;Current rating: 4.2 (4 votes) &lt;br&gt;&lt;/p&gt;&lt;p&gt;==================================&lt;/p&gt;&lt;p&gt;
&lt;b&gt;Deeper info about hotfix / CU level &lt;/b&gt;&lt;/p&gt;&lt;p&gt;Let's face it, relying on someone's blog to determine what build of SQL Server you have (and in turn which fixes you are protected by) is not reliable enough for most people.&amp;nbsp; While Microsoft has made great strides in keeping the KB up to date with full disclosure on hotfix builds, cumulative updates and service packs, there would be great value in having something within the product that could give you the details straight up, instead of having to search through KB article after KB article trying to find relevant information.&amp;nbsp; This is exactly what Robert Davis has suggested.&amp;nbsp; I disagree with his urging to change @@VERSION, but I think the general approach that a new server variable or SERVERPROPERTY() could be introduced would be an easy way to provide this additional and valuable information without introducing backward compatibility issues.&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=464322" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=464322" target="_blank"&gt;#464322 : Augment ProductLevel property of the ServerProperty function to include CU #&lt;/a&gt;&lt;br&gt;Current rating: 4.3 (5 votes)&lt;br&gt;&lt;/p&gt;&lt;p&gt;==================================&lt;/p&gt;
&lt;b&gt;Declaring variable lengths &lt;br&gt;&lt;/b&gt;
&lt;p&gt;I think it is fairly well-known that this syntax is just lazy, never mind potentially troublesome:&lt;/p&gt;&lt;p&gt;DECLARE @x VARCHAR;&lt;/p&gt;&lt;p&gt;Part of the problem is that in different scenarios this length will default to 1 or 30, and can often lead to data loss due to silent truncation.&amp;nbsp; Fellow MVP &lt;a href="http://www.sommarskog.se/" title="http://www.sommarskog.se/" target="_blank"&gt;Erland Sommarskog&lt;/a&gt; is calling for deprecation of the lazy syntax, and I wholeheartedly agree. &lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=244395" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=244395" target="_blank"&gt;#244395 : Deprecate (n)varchar with out length specifcation&lt;/a&gt;&lt;br&gt;Current rating: 4.0 (6 votes) &lt;br&gt;&lt;/p&gt;&lt;p&gt;==================================&lt;/p&gt;
&lt;b&gt;Open Table is gone, but it is still biting us&amp;nbsp; &lt;/b&gt;&lt;br&gt;&lt;br&gt;They closed the following item as Fixed, but I disagree, and hence re-opened it.&amp;nbsp; The so-called "fix" was to return an error message; while arguably this is better than updating too many rows, it still leaves the table designer totally useless if your table is made up of certain data types. &lt;br&gt;
&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=289541" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=289541" target="_blank"&gt;#289541: SSMS : Open Table w/binary key updates too many rows&lt;/a&gt;&lt;br&gt;Current rating: 4.7 (13 votes)&lt;br&gt;&lt;/p&gt;Right now if you choose "Edit Top n Rows" and then the data has changed in the meantime, choosing "Edit Top n Rows" again does not re-pull the data (or check that the schema is still the same), it just sets focus to the existing window you had opened previously (and depending on how attentive you are, this might fool you into believing that the data was refreshed).&amp;nbsp; I think that it should automatically refresh the data *and* the schema to prevent potentially catastrophic updates.&lt;br&gt;
&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=464596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=464596" target="_blank"&gt;#464596 : SSMS : Edit Top n Rows needs to refresh data and schema&lt;/a&gt;&lt;br&gt;Current rating: N/A (1 vote)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;==================================&lt;/p&gt;
&lt;p style="font-weight:bold;"&gt;Last week's results:&lt;/p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462042" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462042" target="_blank"&gt;#462042 : Incorrect "Duplicate key" error with unique filtered index&lt;/a&gt;&lt;br&gt;Previous rating: 4.7 (4 votes)&lt;br&gt;Current rating: 4.8 (6 votes) &lt;span style="font-weight:bold;"&gt;+2&lt;/span&gt;&lt;br&gt;

&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462046" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462046" target="_blank"&gt;#462046 : Cannot rename a default constraint for a table in a schema which is not dbo&lt;/a&gt;&lt;br&gt;Previous rating: 4.4 (4 votes) &lt;br&gt;
Current rating:  4.5 (6 votes) &lt;span style="font-weight:bold;"&gt;+2&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462053" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=462053" target="_blank"&gt;#462053 : The filter expression of a filtered index is lost when a table is modified by the Table Designer&lt;/a&gt;&lt;br&gt;Previous rating: 4.7 (4 votes) &lt;br&gt;
Current rating:  4.8 (6 votes) &lt;span style="font-weight:bold;"&gt;+2&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=457024" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=457024" target="_blank"&gt;#457024 : Update statistics, top 100 percent and Sort warnings&lt;/a&gt;&lt;br&gt;Previous rating: N/A (0 votes)&amp;nbsp; &lt;br&gt;
Current rating:  4.8 (9 votes) &lt;span style="font-weight:bold;"&gt;+9&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458076" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458076" target="_blank"&gt;#458076 : Make %%lockres%% a documented feature&lt;/a&gt;&lt;br&gt;Previous rating: 4.7 (10 votes)&amp;nbsp; &lt;br&gt;
Current rating: 4.7 (14 votes) &lt;span style="font-weight:bold;"&gt;+4&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458080" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458080" target="_blank"&gt;#458080 : Lock Resource Hash Value not visible in Deadlock Graph Graphical View&lt;/a&gt;&lt;br&gt;Previous rating: 4.8 (8 votes) &lt;br&gt;
Current rating:  4.8 (10 votes) &lt;span style="font-weight:bold;"&gt;+2&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458084" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458084" target="_blank"&gt;#458084 : Improve content in BOL for Deadlock Diagnosis&lt;/a&gt;&lt;br&gt;Previous rating: 4.4 (6 votes)&lt;br&gt;
Current rating:   4.5 (7 votes) &lt;span style="font-weight:bold;"&gt;+1&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458091" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=458091" target="_blank"&gt;#458091 : Change Lock Resource Hashing Algorithm to Reduce Likelihood of Collisions&lt;/a&gt;&lt;br&gt;Previous rating: 4.6 (11 votes) &lt;br&gt;
Current rating:   4.7 (13 votes) &lt;span style="font-weight:bold;"&gt;+1&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>