<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>BenkoBLOG : SQL</title><link>http://blogs.msdn.com/benko/archive/tags/SQL/default.aspx</link><description>Tags: SQL</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>SQL 2008 Templates...a little more info</title><link>http://blogs.msdn.com/benko/archive/2008/11/17/sql-2008-templates-a-little-more-info.aspx</link><pubDate>Mon, 17 Nov 2008 20:59:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9111720</guid><dc:creator>benko</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/benko/comments/9111720.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benko/commentrss.aspx?PostID=9111720</wfw:commentRss><wfw:comment>http://blogs.msdn.com/benko/rsscomments.aspx?PostID=9111720</wfw:comment><description>&lt;p&gt;Last week in Kansas City while presenting the New Features of SQL 2008 for Developers session of MSDN Unleashed we had some questions of whether this is a new feature in this release. I mentioned that it isn't and has been part of the product since at least SQL 2005, and someone asked whether the keyboard shortcut for filling out the parameters of the template (CTRL+SHIFT+M) still worked. I didn't know about this feature so I tried it in front of a live audience and found it doesn't work out of the box. &lt;/p&gt;  &lt;p&gt;My hat goes off to an attendee who took the time to figure out why not and he sent me the answer. The bottom line is that the keyboard mappings are different in SQL 2008. You can fix this by going into the Tools|Options|Keyboard settings and set the keyboard mapping. I found that once I opened the settings window that the keyboard shortcut worked whether in Standard or SQL 2000 layout.&amp;#160; It's weird that I had to open the settings to get the shortcuts to work, but it did.&lt;/p&gt;  &lt;p&gt;For what it's worth, hopefully you'll be able to use the Templates feature when you're working with SQL Code.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9111720" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benko/archive/tags/MSDN+Events/default.aspx">MSDN Events</category><category domain="http://blogs.msdn.com/benko/archive/tags/SQL/default.aspx">SQL</category></item><item><title>SQL Tuning Webcast</title><link>http://blogs.msdn.com/benko/archive/2006/11/13/sql-tuning-webcast.aspx</link><pubDate>Mon, 13 Nov 2006 17:44:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1070830</guid><dc:creator>benko</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/benko/comments/1070830.aspx</comments><wfw:commentRss>http://blogs.msdn.com/benko/commentrss.aspx?PostID=1070830</wfw:commentRss><wfw:comment>http://blogs.msdn.com/benko/rsscomments.aspx?PostID=1070830</wfw:comment><description>&lt;p&gt;As promised I'm posting the code we used for doing some of our analysis for tuning SQL Server applications. In &lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313835%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;today's webcast&lt;/a&gt; we started out by assuming we didn't know much about the schema we were working with, so we captured a profile trace of what was running on the server (to simulate the server load I ran a Load Test against the Adventure Works web application with a couple different scenarios). From that trace we ran some queries to give us an idea of which stored procedure calls are the most expensive in terms of CPU, reads and writes. &lt;/p&gt;&lt;p&gt;Next we took a look at Data Velocity or the rate at which our database is growing. We did this by creating a script to count the tables&amp;nbsp;with a timestamp and persist that info in the database for future use. Next we wrote some create SQL to show us the rate of growth of that data.&lt;/p&gt;&lt;p&gt;Finally we used the trace capture as a feed into the SQL Performance Tuning wizard to see what the system found as places we could make changes to get better performance.&lt;/p&gt;&lt;p&gt;If you want to see the webcast you can get to it by clicking &lt;a href="http://www.microsoft.com/events/EventDetails.aspx?CMTYSvcSource=MSCOMMedia&amp;amp;Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22ID%22+Value%3d%221032313835%22%2f%5e%7earg+Name%3d%22ProviderID%22+Value%3d%22A6B43178-497C-4225-BA42-DF595171F04C%22%2f%5e%7earg+Name%3d%22lang%22+Value%3d%22en%22%2f%5e%7earg+Name%3d%22cr%22+Value%3d%22US%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;here&lt;/a&gt;, and you can download the code by registered for the site and going to the downloads section.&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1070830" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/benko/archive/tags/SQL/default.aspx">SQL</category></item></channel></rss>