<?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 'T-SQL' and 'product enhancements'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=T-SQL,product+enhancements&amp;orTags=0</link><description>Search results matching tags 'T-SQL' and 'product enhancements'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Connect Digest : 2009-05-30 : please vote!</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/05/30/connect-digest-2009-05-30-please-vote.aspx</link><pubDate>Sat, 30 May 2009 16:47:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14352</guid><dc:creator>AaronBertrand</dc:creator><description>&lt;p&gt;Here are some issues I came across recently; most involve SSMS in some way, though Erland's assertion suggestion is a great one. And just to be clear, since I am seeing some accusations of distorting the fairness of &lt;a href="http://connect.microsoft.com/sql" title="http://connect.microsoft.com/sql" target="_blank"&gt;Connect&lt;/a&gt; by "asking for votes," I am not asking anyone to vote blindly on these items (and it's clear from last week's results that people are NOT doing that).&amp;nbsp; I'm asking you to take a look at these issues and -- if they affect you and you care enough to do so -- vote on them.&lt;br&gt;&lt;/p&gt;====================
&lt;p&gt;&lt;b&gt;ASSERTIONS&lt;br&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Erland brought up a great suggestion to add true assertions to DML statements, which would have several benefits over triggers or rolling your own rollback mechanisms.&amp;nbsp; &lt;br&gt;
&lt;/p&gt;
&lt;p&gt;#459383 : Add assertion clause to DML statements&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459383" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459383" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459383&lt;/a&gt;&lt;br&gt;Current rating: 4.2 (6 votes) &lt;br&gt;&lt;/p&gt;&lt;p&gt;
====================&lt;/p&gt;&lt;p&gt;&lt;b&gt;Object Explorer problem during attach operation &lt;br&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Last week I was attaching a largish database (~300GB) using CREATE DATABASE ... FOR ATTACH.&amp;nbsp; Unlike when restoring a database, where you can see the "Restoring..." state next to the database name in Object Explorer (and can still access other online databases), during this time, I would receive an ugly error message if I tried to expand or refresh the database list.&amp;nbsp; I believe this is because the attach operation places an exclusive lock on the table(s) underlying the sys.databases catalog view, and the *ad hoc SQL* that SSMS issues to display the list does not use snapshot or lower isolation.&amp;nbsp; I'm not sure why it has to behave this way.&amp;nbsp; &lt;br&gt;
&lt;/p&gt;


&lt;p&gt;#459208 : SSMS : Object Explorer fails to show database list during attach&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459208" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459208" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=459208&lt;/a&gt;&lt;br&gt;Current rating: N/A (1 vote) &lt;/p&gt;
&lt;p&gt;==================== &lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Various Activity Monitor issues &lt;br&gt;&lt;/b&gt;&lt;/p&gt;


&lt;p&gt;Many people have complained about the way the new Activity Monitor replaced the previous version.&amp;nbsp; While there are many new and helpful ways in which the new feature works, a crowd has gathered complaining about some of the things that are still missing (or were taken away).&amp;nbsp; &lt;br&gt;
&lt;/p&gt;



&lt;p&gt;#423019 : SQL Server 2008 Activity Monitor Enhancements&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" target="_blank"&gt;&lt;br&gt;&lt;/a&gt;Current rating: 4.7 (13 votes) &lt;/p&gt;&lt;p&gt;#352596 : SSMS: Activity Monitor is no longer in Treeview &lt;br&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;&lt;br&gt;&lt;/a&gt;Current rating: 4.7 (6 votes)&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=423019" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;#361102 : [SSMS 2008 RTM] Restore 2000 Activity Monitor &lt;br&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=361102" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=361102" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=361102&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;&lt;br&gt;&lt;/a&gt;Current rating: 3.8 (6 votes)&lt;/p&gt;&lt;p&gt;#350734 : SSMS : Activity Monitor column headers are too fragile&lt;br&gt; &lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350734" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350734" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350734&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;&lt;br&gt;&lt;/a&gt;Current rating: 4.3 (3 votes)
&lt;/p&gt;&lt;p&gt;#350736 : SSMS : Activity Monitor queries replace white space with ugly boxes&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;&lt;br&gt;&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350736" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350736" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=35073&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=352596" target="_blank"&gt;&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350736" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350736" target="_blank"&gt;6&lt;/a&gt;&lt;br&gt;Current rating: 3.9 (2 votes)
&lt;/p&gt;&lt;p&gt;#350726 : SSMS : Activity Monitor "Kill Process" more dangerous than it sounds&lt;br&gt; &lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350726" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350726" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350726&lt;/a&gt;&lt;br&gt;Current rating: N/A (1 vote)&lt;/p&gt;&lt;p&gt;#350729 : SSMS : Activity Monitor process details dialog hard to use&lt;br&gt; &lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350729" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350729" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350729&lt;/a&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350729" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=350729" target="_blank"&gt;&lt;br&gt;
&lt;/a&gt;Current rating: N/A (1 vote)
&lt;/p&gt;&lt;p&gt;============================================================ &lt;br&gt;
&lt;/p&gt;

&lt;p&gt;And here are the changes I've observed over the past 7 days for the entries in &lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/05/23/connect-digest-2009-05-23-please-vote.aspx" title="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/05/23/connect-digest-2009-05-23-please-vote.aspx" target="_blank"&gt;my post from last week&lt;/a&gt;: &lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=127219" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=127219" target="_blank"&gt;#127219 : CREATE OR REPLACE&lt;/a&gt;&lt;br&gt;Rating last week: 4.7 (84 votes)&lt;br&gt;Current rating: 4.7 (103 votes) &lt;b&gt;+17&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=273938" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=273938" target="_blank"&gt;#273938 : sp_helptext : option for generating ALTER&lt;/a&gt;&lt;br&gt;Rating last week: N/A (1 vote)&amp;nbsp; &lt;br&gt;Current rating: 4.5 (3 votes) &lt;b&gt;+2&lt;/b&gt;&lt;br&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=291300" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=291300" target="_blank"&gt;#291300 : Option for sp_helptext to add 'GO'&lt;/a&gt;&lt;br&gt;
Rating last week: N/A (1 vote) &lt;br&gt;Current rating: N/A (1 vote) &lt;b&gt;no change&lt;/b&gt; &lt;br&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=362453" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=362453" target="_blank"&gt;#362453 : SSMS RTM Table Limit&lt;/a&gt;&lt;br&gt;Rating last week: 4.7 (13 votes) &lt;br&gt;Current rating: 4.7 (17 votes) &lt;b&gt;+4&lt;/b&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=453982" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=453982" target="_blank"&gt;#453982 : Bizarre XML Performance&lt;/a&gt;&lt;br&gt;Rating last week: 4.7 (3 votes)&lt;br&gt;Current rating: 4.7 (7 votes) &lt;b&gt;+4&lt;/b&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Connect Digest : 2009-05-23 : please vote!</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/05/23/connect-digest-2009-05-23-please-vote.aspx</link><pubDate>Sat, 23 May 2009 16:02:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14241</guid><dc:creator>AaronBertrand</dc:creator><description>Here are the items from this week that I feel deserve some attention.&amp;nbsp; I'm also adding a little bit of analysis to this.&amp;nbsp; I am always curious if my vote-pimping has any effect, so I am going to start taking a note of the ratings at the time I publish the post, and then compare them when I publish the next post.&amp;nbsp; This will give me some idea about whether my efforts here are worth it.&lt;br&gt;&lt;p&gt;====================&lt;/p&gt;
&lt;p&gt;&lt;b&gt;CREATE OR REPLACE syntax&lt;br&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We've been asking for this syntax for several versions now, and it finally looks like they're seriously considering it.&amp;nbsp; To the point that they are narrowing down which DDL commands to support in the first round (since they don't pretend to be able to support all of them in one go).&amp;nbsp; This item already has a lot of votes, so if you have already voted, you could add comments indicating which items you would prefer be supported initially.&amp;nbsp; &lt;br&gt;
&lt;/p&gt;
&lt;p&gt;#127219 : CREATE OR REPLACE&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=127219" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=127219" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=127219&lt;/a&gt;&lt;br&gt;Current rating: 4.7 (84 votes) &lt;br&gt;&lt;/p&gt;&lt;p&gt;
====================&lt;/p&gt;&lt;p&gt;&lt;b&gt;sp_helptext improvements&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Because of the missing syntax for create or replace, I filed two items in 2007 that would allow for improved usability with the system procedure sp_helptext.&amp;nbsp; One is to allow an option that would append 'GO' to the end of the script, and the other is to allow an option to script ALTER instead of CREATE.&amp;nbsp; While arguably these options are much less useful if they implement CREATE OR REPLACE functionality, that is still not guaranteed, so some other extensions might be helpful.&amp;nbsp; So far, I am the only person who has voted for either of these items.&lt;br&gt;&lt;/p&gt;&lt;p&gt;#273938 : sp_helptext : option for generating ALTER&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=273938" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=273938" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=273938&lt;/a&gt;&lt;br&gt;
Current rating: N/A (1 vote)&amp;nbsp; &lt;/p&gt;&lt;p&gt;#291300 : Option for sp_helptext to add 'GO'&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=291300" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=291300" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=291300&lt;/a&gt;&lt;br&gt;
Current rating: N/A (1 vote)&amp;nbsp; &lt;/p&gt;&lt;p&gt;
====================&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Object Explorer tree limits &lt;br&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Object Explorer has a known limitation where, if you have too many objects in a single database, expanding a relevant node will yield the error message: "See Object Explorer Details for objects in this folder."&amp;nbsp; Using Object Explorer Details instead of the Object Explorer tree adds some functionality (like sorting and viewing additional properties); however, at the same time, it takes some important functionality away (like expanding multiple items at the same level and dragging column name lists onto query windows).&amp;nbsp; Now it seems that fixing this issue means they will also have to fix the underlying OS, but I say by all means do it.&amp;nbsp; If I want to wait 15 minutes for my crappy desktop PC to display a tree, I should be able to make that choice myself.&lt;br&gt;&lt;/p&gt;&lt;p&gt;#362453 : SSMS RTM Table Limit&lt;br&gt;

&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=362453" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=362453" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=362453&lt;/a&gt;&lt;br&gt;
Current rating: 4.7 (13 votes) &lt;br&gt;
&lt;/p&gt; &lt;p&gt;
====================&lt;/p&gt;&lt;p&gt;&lt;b&gt;Bizarre XML Performance&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Fellow MVP and sqlblog.com blogger Adam Machanic discovered some illogical performance when constructing and slightly changing queries involving XML and TVFs.&lt;br&gt;&lt;/p&gt;&lt;p&gt;#453982 : Bizarre XML Performance&lt;br&gt;


&lt;a href="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=453982" title="http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=453982" target="_blank"&gt;http://connect.microsoft.com/SQL/feedback/ViewFeedback.aspx?FeedbackID=453982&lt;/a&gt;&lt;br&gt;

Current rating: 4.7 (3 votes)&amp;nbsp; &lt;/p&gt;&lt;p&gt;
====================&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>