<?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>Andy Leonard : SSMS</title><link>http://sqlblog.com/blogs/andy_leonard/archive/tags/SSMS/default.aspx</link><description>Tags: SSMS</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>T-SQL Snack: Why Does SSMS Generate Create Scripts With EXEC dbo.sp_executesql?</title><link>http://sqlblog.com/blogs/andy_leonard/archive/2010/07/19/why-does-ssms-generate-create-scripts-with-exec-dbo-sp-executesql.aspx</link><pubDate>Mon, 19 Jul 2010 11:00:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:27101</guid><dc:creator>andyleonard</dc:creator><slash:comments>9</slash:comments><comments>http://sqlblog.com/blogs/andy_leonard/comments/27101.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/andy_leonard/commentrss.aspx?PostID=27101</wfw:commentRss><description>Introduction I've been meaning to blog about this for a while and a question from a team member prompted this post (thanks Allan!) SSMS Scripting Options In SSMS you can script a stored procedure - right-click a stored procedure, hover over Script Stored...(&lt;a href="http://sqlblog.com/blogs/andy_leonard/archive/2010/07/19/why-does-ssms-generate-create-scripts-with-exec-dbo-sp-executesql.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=27101" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/SSMS/default.aspx">SSMS</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/T-SQL+Snack/default.aspx">T-SQL Snack</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/No+Pony/default.aspx">No Pony</category></item><item><title>New Features Announced In SQL Server 2008</title><link>http://sqlblog.com/blogs/andy_leonard/archive/2008/03/13/new-features-announced-in-sql-server-2008.aspx</link><pubDate>Thu, 13 Mar 2008 10:23:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:5563</guid><dc:creator>andyleonard</dc:creator><slash:comments>1</slash:comments><comments>http://sqlblog.com/blogs/andy_leonard/comments/5563.aspx</comments><wfw:commentRss>http://sqlblog.com/blogs/andy_leonard/commentrss.aspx?PostID=5563</wfw:commentRss><description>&lt;P&gt;&lt;A class="" href="http://blogs.msdn.com/buckwoody/" target=_blank&gt;Buck Woody&lt;/A&gt;, Microsoft SQL Server Program Manager, recently posted a list of enhancements in the works for SQL Server 2008 RTM in the SQL Server MVP newsgroup. The usual suspects were included in the list: Policy-Based Management (formerly DMF), Resource Governor, Multi-Server Query, PowerShell, and IntelliSense - but there are also some interesting additions that I'd not heard about until reading his post.&lt;/P&gt;
&lt;P&gt;The big addition: Activity Monitor, described in the post thus:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN:0in 0in 0pt;LINE-HEIGHT:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;COLOR:black;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:'Times New Roman';mso-hansi-font-family:Calibri;mso-bidi-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;&lt;EM&gt;The new Activity Monitor was written from the ground up with the perspective of the DBA needing to chase down a performance problem in real time. Modeled after the new Windows Resource Monitor, DBAs can quickly see the active sessions, wait states, file I/O, and long running queries in a command console like UI.&lt;/EM&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:9pt;COLOR:black;mso-bidi-font-size:11.0pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:'Times New Roman';mso-hansi-font-family:Calibri;mso-bidi-font-family:'Times New Roman';"&gt;&lt;FONT face=Calibri&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P&gt;I'm excited! I currently lug around a collection of scripts (... that I keep promising to add to an application one day) to check hither and yon for performance gotchas. &lt;/P&gt;
&lt;P&gt;Another addition: Database Diagram / Table Designer Safety Additions which add safety checks "for operations that&amp;nbsp;that would drop an object or cause&amp;nbsp;data loss." &lt;/P&gt;
&lt;P&gt;You will also be able to launch Profiler "from&amp;nbsp;a Query Editor Results window to the SPID of the query." This sounds &lt;EM&gt;very&lt;/EM&gt; interesting.&amp;nbsp;If I'm reading this right&amp;nbsp;I'll be able to execute sp_who2, obtain the SPID of a long-running query, right-click (or something) and start a Profiler trace pre-configured to capture activity of this SPID. You can also launch the SPID-centric&amp;nbsp;Profiler from Activity Monitor.&amp;nbsp;I will be using that a lot!&lt;/P&gt;
&lt;P&gt;New right-click options in the Query Results Window will allow users to "select a range of rows in the Results Grid and copy the headings as well. Also, you can select individual cells and copy them with headers if you wish." This sounds like the copy functionality we have in SSIS Grid Data Viewers. I can tell you from expereience this is handy feature. It's very useful to be able to copy a few multi-selected rows - including row headers (especially when you're working with a couple hundred columns!) - and paste them into Excel for analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;A new "Info Bar" provides pre-validated navigation cues in many screens.&lt;/P&gt;
&lt;P&gt;The Open Table feature limits the number of rows returned. Has this ever happened to you? You&amp;nbsp;right-click a table in SSMS and select Open Table only to hog server resources&amp;nbsp;just so you could take a peek at the data? It's happened to me...&amp;nbsp;(Thank you, thank you, thank you!)&lt;/P&gt;
&lt;P&gt;There are also a few changes to ShowPlan - mostly related to XML / graphics interchange. I remember seeing some of this in early SQL Server 2005 pre-releases but I believe it was cut from the 2005 RTM. Nice to see these options - they're great for documenting issues.&lt;/P&gt;
&lt;P&gt;Performance Studio will contain a host of performance tuning reports - another exciting feature! The whole&amp;nbsp;Data Collection database&amp;nbsp;has me stoked - have you seen this feature in CTP6? It's pretty cool.&lt;/P&gt;
&lt;P&gt;Last but not least, the team has decided to include - drum roll please -&amp;nbsp;the T-SQL debugger in SSMS!&lt;/P&gt;
&lt;P&gt;I can hardly wait to see these in action, and it's very cool of the SQL Server Team to give us visibility into these planned features along with permission to blog about them (thanks Buck!).&lt;/P&gt;
&lt;P&gt;:{&amp;gt; Andy&lt;/P&gt;&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=5563" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/Database+Developer/default.aspx">Database Developer</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/DBA/default.aspx">DBA</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://sqlblog.com/blogs/andy_leonard/archive/tags/SSMS/default.aspx">SSMS</category></item></channel></rss>