<?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>SQLblog.com - The SQL Server blog spot on the web</title><link>http://sqlblog.com/blogs/default.aspx</link><description>&lt;P&gt;THE SQL Server Blog Spot on the Web&lt;/P&gt;</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Fun With Batches - Make Your Query Fail</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/07/01/fun-with-deferred-name-resolution-make-your-query-fail.aspx</link><pubDate>Thu, 02 Jul 2009 01:46:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15051</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>1</slash:comments><description>It's a common practice for people who write T-SQL scripts to test each statement one at a time before finally running the entire script. This can lead to unexpected surprises. When each statement in a script is executed one at a time, each is separate batch. If there are no GO statements, the entire script executed as whole is a single batch. Let's look at some code. /* Execute the following three queries as a batch. The third query will fail. The error message says #test exists even though the previous...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/07/01/fun-with-deferred-name-resolution-make-your-query-fail.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15051" width="1" height="1"&gt;</description></item><item><title>SSIS 2008 and the New Lookup</title><link>http://sqlblog.com/blogs/eric_johnson/archive/2009/07/01/ssis-2008-and-the-new-lookup.aspx</link><pubDate>Wed, 01 Jul 2009 21:33:44 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15046</guid><dc:creator>ejohnson2010</dc:creator><slash:comments>1</slash:comments><description>SSIS is a pretty useful tool for designing ETL processes. One of the transformations I was disappointed with in 2005 was the lookup. I found it a little better than the lookup functionality in DTS, but not too much better. Well, Microsoft must have read my mind because SQL Server 2008 has a new shiny Lookup transformation that is, in my opinion, much improved. In 2005, the lookup had cache options, but they were really heavy handed. And you could deal with a lookup not finding a match by using the...(&lt;a href="http://sqlblog.com/blogs/eric_johnson/archive/2009/07/01/ssis-2008-and-the-new-lookup.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15046" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/eric_johnson/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://sqlblog.com/blogs/eric_johnson/archive/tags/SSIS/default.aspx">SSIS</category></item><item><title>Why is IntelliSense not working?</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/07/01/why-is-intellisense-not-working.aspx</link><pubDate>Wed, 01 Jul 2009 18:05:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15041</guid><dc:creator>AaronBertrand</dc:creator><slash:comments>6</slash:comments><description>I see people complain that IntelliSense (new in SQL Server 2008's Management Studio) is not working. Most of the time, it is for one of two reasons: The object is not in the local IntelliSense cache, since it was created recently. You can fix this easily by going to Edit &amp;gt; IntelliSense &amp;gt; Refresh Local Cache, or CTRL+SHIFT+R. The query window is connected to a downlevel server (e.g. SQL Server 2005), where IntelliSense does not function (see Connect #341872 from Whitney Weaver for more info...(&lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/07/01/why-is-intellisense-not-working.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15041" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/intellisense/default.aspx">intellisense</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/management+studio/default.aspx">management studio</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>Why have we not seen TPC-C and TPC-E benchmarks using SSD storage?</title><link>http://sqlblog.com/blogs/joe_chang/archive/2009/07/01/why-have-we-not-seen-tpc-c-and-tpc-e-benchmarks-using-ssd-storage.aspx</link><pubDate>Wed, 01 Jul 2009 16:48:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15038</guid><dc:creator>jchang</dc:creator><slash:comments>3</slash:comments><description>Dell recently published a TPC-H report for the PowerEdge T610, 2 x Xeon 5570, with 4 FusionIO 80GB SSD storage devices at 100GB scale factor. So why have we not seen TPC-C or TPC-E OLTP benchmark results published? Now it is much more feasible to run the TPC-H data warehouse benchmark on SSD because the Scale Factor 100 size is still allowed, for which the Line item table is 100GB for data only, not indexes or other tables. The full SF 100 tpch database is about 170GB for all tables and indexes....(&lt;a href="http://sqlblog.com/blogs/joe_chang/archive/2009/07/01/why-have-we-not-seen-tpc-c-and-tpc-e-benchmarks-using-ssd-storage.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15038" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/joe_chang/archive/tags/Hardware/default.aspx">Hardware</category><category domain="http://sqlblog.com/blogs/joe_chang/archive/tags/Performance/default.aspx">Performance</category><category domain="http://sqlblog.com/blogs/joe_chang/archive/tags/SSD/default.aspx">SSD</category></item><item><title>When CHECK constraints using UDFs fail for multirow updates</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/07/01/when-check-constraints-using-udfs-fail-for-multirow-updates.aspx</link><pubDate>Wed, 01 Jul 2009 14:08:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15035</guid><dc:creator>Alexander Kuznetsov</dc:creator><slash:comments>1</slash:comments><description>I have made up a simple example when a CHECK constraint that uses a UDF should succeed but always fails. Suppose you need to move some stuff in your car, and you don't want to load more than 100 pounds into your small car at a time. Here is the DDL: CREATE SCHEMA Data AUTHORIZATION dbo ; GO CREATE SCHEMA Readers AUTHORIZATION dbo ; GO CREATE TABLE Data.ItemsToMove ( TripNumber INT NOT NULL, ItemName VARCHAR ( 50 ), ItemWeightInPounds FLOAT ); GO CREATE FUNCTION Readers.TotalWeightPerTrip ( @TripNumber...(&lt;a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/07/01/when-check-constraints-using-udfs-fail-for-multirow-updates.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15035" width="1" height="1"&gt;</description></item><item><title>Making Presentations Accessible for Colorblind Individuals</title><link>http://sqlblog.com/blogs/john_paul_cook/archive/2009/07/01/making-presentations-accessible-for-colorblind-individuals.aspx</link><pubDate>Wed, 01 Jul 2009 11:26:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15029</guid><dc:creator>John Paul Cook</dc:creator><slash:comments>0</slash:comments><description>As I prepare for my SQL PASS 2009 presentation "Solving the Bill of Materials Problem", I'm trying to make sure I use colors that are visible to people with colorblindness. I've found two tools to help accomplish this. Colorlab available at http://colorlab.wickline.org/colorblind/colorlab/ renders the standard web color palette as seen by people with various color vision deficiencies. Vischeck http://www.vischeck.com/vischeck/vischeckImage.php allows you to upload your own images (e.g., PowerPoint...(&lt;a href="http://sqlblog.com/blogs/john_paul_cook/archive/2009/07/01/making-presentations-accessible-for-colorblind-individuals.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15029" width="1" height="1"&gt;</description></item><item><title>CodeCampSA (Adelaide) is on again this year</title><link>http://sqlblog.com/blogs/greg_low/archive/2009/07/01/codecampsa-adelaide-is-on-again-this-year.aspx</link><pubDate>Wed, 01 Jul 2009 03:47:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15023</guid><dc:creator>Greg Low</dc:creator><slash:comments>2</slash:comments><description>One of the smaller events I try to get to each year is the Code Camp that happens in Adelaide ( www.codecampsa.com ). It might be smaller but I always enjoy it and I'm sure that Peter Griffiths and David Gardiner will be putting on a good show again this year. I'd love to see as many of you there as possible. It's July 18th and 19th in Adelaide. Details are at the site: www.codecampsa.com . Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...(&lt;a href="http://sqlblog.com/blogs/greg_low/archive/2009/07/01/codecampsa-adelaide-is-on-again-this-year.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15023" width="1" height="1"&gt;</description></item><item><title>Best Thing I Learned at PASS Summit</title><link>http://sqlblog.com/blogs/louis_davidson/archive/2009/06/30/best-thing-i-learned-at-pass-summit.aspx</link><pubDate>Wed, 01 Jul 2009 01:29:14 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15019</guid><dc:creator>drsql</dc:creator><slash:comments>0</slash:comments><description>I have learned many things at every PASS Summit I have attended. First off, all of the people who are speakers are just human beings like you and me (including everyone's favorite Kalen Delaney). I learned that it is really expensive to put on a conference like PASS, and I have especially learned to enjoy six dollar bagels and four dollar cans of coke, while they still exist. And I have learned that speaking in front of 200-2000 people isn't nearly as scary as it initially seemed. I have even learned...(&lt;a href="http://sqlblog.com/blogs/louis_davidson/archive/2009/06/30/best-thing-i-learned-at-pass-summit.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15019" width="1" height="1"&gt;</description></item><item><title>Best Thing that I learned at PASS</title><link>http://sqlblog.com/blogs/rick_heiges/archive/2009/06/30/best-thing-that-i-learned-at-pass.aspx</link><pubDate>Tue, 30 Jun 2009 17:55:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15018</guid><dc:creator>RickHeiges</dc:creator><slash:comments>0</slash:comments><description>I remember my first PASS Summit in Denver in January 2002 (Delayed from Sep 2001 in Orlando due to Sep 11). One of the last sessions that I attended was led by Fabian Pascal. He runs a website called www.dbdebunk.com and is rather entertaining at times. At the time that I attended the Summit, I was teaching at High Point University. At many academic institutions, practicality doesn't count. Perhaps I did not realize when I was listening to Fabian at the time, but it soon became clear to me why vendors...(&lt;a href="http://sqlblog.com/blogs/rick_heiges/archive/2009/06/30/best-thing-that-i-learned-at-pass.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15018" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/rick_heiges/archive/tags/Conferences/default.aspx">Conferences</category><category domain="http://sqlblog.com/blogs/rick_heiges/archive/tags/Education/default.aspx">Education</category><category domain="http://sqlblog.com/blogs/rick_heiges/archive/tags/Events/default.aspx">Events</category><category domain="http://sqlblog.com/blogs/rick_heiges/archive/tags/fun/default.aspx">fun</category><category domain="http://sqlblog.com/blogs/rick_heiges/archive/tags/SQL+Community/default.aspx">SQL Community</category></item><item><title>Best Thing I Learned at PASS Summit</title><link>http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/29/best-thing-i-learned-at-pass-summit.aspx</link><pubDate>Mon, 29 Jun 2009 19:12:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15001</guid><dc:creator>Jonathan Kehayias</dc:creator><slash:comments>6</slash:comments><description>I have only been to one PASS Summit and it was the one in November 2008. If you had asked me last year this time about attending a large convention like PASS Summit, TechEd or SQL Connections, I would have told you to save your money for something more useful. A few things conspired together last year that got me to attend Summit. First Microsoft decided to do the SQL Hero's Contest in conjunction with PASS Summit and the Extended Event Manager I wrote was selected as a finalist in the contest. Second,...(&lt;a href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/29/best-thing-i-learned-at-pass-summit.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15001" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/Miscellaneous/default.aspx">Miscellaneous</category><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/Presentations/default.aspx">Presentations</category></item><item><title>SQL storms from your data grids</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2009/06/29/sql-storms-from-your-data-grids.aspx</link><pubDate>Mon, 29 Jun 2009 17:41:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:15000</guid><dc:creator>Linchi Shea</dc:creator><slash:comments>2</slash:comments><description>As organizations start to deploy various data grids into their application layers, they may start to experience what I’d call a SQL storm —a massive number of simple SQL requests that are issued over a large number of concurrent database connections at a high frequency. This is not about SQL viruses or denial of service attacks. But the end result is similar. On the SQL Server machine, the CPU usage is being pegged to 100% for a sustained time period, and the applications that share the SQL Server...(&lt;a href="http://sqlblog.com/blogs/linchi_shea/archive/2009/06/29/sql-storms-from-your-data-grids.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=15000" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/data+grid/default.aspx">data grid</category><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/grid+computing/default.aspx">grid computing</category><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/Performance/default.aspx">Performance</category><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/SQL+storm/default.aspx">SQL storm</category></item><item><title>Best Thing I Learned at PASS</title><link>http://sqlblog.com/blogs/allen_white/archive/2009/06/29/best-thing-i-learned-at-pass.aspx</link><pubDate>Mon, 29 Jun 2009 11:35:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14992</guid><dc:creator>AllenMWhite</dc:creator><slash:comments>1</slash:comments><description>At the 2003 PASS Summit in Seattle the organization had a "SIG Challenge" that involved developing a database solution to a business problem. They assigned people to teams and allowed us to work on the problem only when sessions weren't occurring, but we could start as early as 6:30am and work as late as 11:30pm. My teammates and I took advantage of those long hours. We didn't win, but we became fast friends, and meet up every year (when possible) at the PASS Summit, and even met in Hamburg last...(&lt;a href="http://sqlblog.com/blogs/allen_white/archive/2009/06/29/best-thing-i-learned-at-pass.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14992" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/allen_white/archive/tags/User+Group+Meetings/default.aspx">User Group Meetings</category></item><item><title>The Best Thing I've Learned at PASS</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/27/the-best-thing-i-ve-learned-at-pass.aspx</link><pubDate>Sat, 27 Jun 2009 15:30:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14979</guid><dc:creator>AaronBertrand</dc:creator><slash:comments>0</slash:comments><description>I have attended PASS for several years, and discovered at my very first event that this is an extremely valuable conference to attend. The actual technical tidbits I’ve learned from attending sessions and having conversations with my peers, PASS officials and Microsoft employees alike have been priceless, but far too many to mention. Besides, how could I pick one item among so many? To be quite honest, the best thing I’ve learned has not been anything technical at all, but rather the mere and simple...(&lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/27/the-best-thing-i-ve-learned-at-pass.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14979" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/community/default.aspx">community</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/PASS/default.aspx">PASS</category></item><item><title>Connect digest : 2009-06-27</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/27/connect-digest-2009-06-27.aspx</link><pubDate>Sat, 27 Jun 2009 15:09:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14977</guid><dc:creator>AaronBertrand</dc:creator><slash:comments>0</slash:comments><description>It was slim pickings this week. One item I thought deserved some attention was one that was filed a year ago today, and the rest are collectively related items involving ... ========================= Clustering Enhancements #353984 : Add support for multi-subnet clusters This is one that has been lacking since SQL Server first started supporting clusters: clustering across subnets. Obviously it can be desirable to have failover events cross rack or even data center boundaries. I am sure there are...(&lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/27/connect-digest-2009-06-27.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14977" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/Connect/default.aspx">Connect</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/multi-subnet+clusters/default.aspx">multi-subnet clusters</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/product+enhancements/default.aspx">product enhancements</category></item><item><title>SAN vs. Disk Arrays: It goes a long way to be slightly more specific!</title><link>http://sqlblog.com/blogs/linchi_shea/archive/2009/06/26/san-vs-disk-arrays-it-goes-a-long-way-to-be-slightly-more-specific.aspx</link><pubDate>Fri, 26 Jun 2009 21:45:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14960</guid><dc:creator>Linchi Shea</dc:creator><slash:comments>2</slash:comments><description>In the SQL Server communities, it's common to hear people talking about HP SAN, EMC SAN, 3Par SAN, and so on as if there were such things as HP SAN, EMC SAN, etc. Technically, SAN stands for Storage Area Network, but can be, and has been, used in two different ways. First, outside the storage communities, people often view everything beyond the drive at the OS level as the SAN with no regard to how that SAN is architected or configured as long as that drive is presented from some kind of SAN infrastructure....(&lt;a href="http://sqlblog.com/blogs/linchi_shea/archive/2009/06/26/san-vs-disk-arrays-it-goes-a-long-way-to-be-slightly-more-specific.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14960" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/SAN/default.aspx">SAN</category><category domain="http://sqlblog.com/blogs/linchi_shea/archive/tags/Storage/default.aspx">Storage</category></item><item><title>Windows Live Writer – Good or Bad?</title><link>http://sqlblog.com/blogs/andrew_kelly/archive/2009/06/26/windows-live-writer-good-or-bad.aspx</link><pubDate>Fri, 26 Jun 2009 21:27:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14959</guid><dc:creator>Andrew Kelly</dc:creator><slash:comments>17</slash:comments><description>&amp;lt;Updates at bottom of post&amp;gt; OK this will probably start a fire storm from Die- Hard Live Writer (LW) geeks but oh well :). I don’t blog as much as I would like and one reason is that I have had so much trouble getting posts properly formatted that it takes way too much time or frustration than it is worth for me anyway. I asked around a while back for the proper tool to use and everyone said “Live Writer” so that is what I started using. Well in the beginning I had an awful time getting images...(&lt;a href="http://sqlblog.com/blogs/andrew_kelly/archive/2009/06/26/windows-live-writer-good-or-bad.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14959" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/andrew_kelly/archive/tags/Humor/default.aspx">Humor</category></item><item><title>Cleaning up Un-Named Defaults</title><link>http://sqlblog.com/blogs/andrew_kelly/archive/2009/06/26/cleaning-up-un-named-defaults.aspx</link><pubDate>Fri, 26 Jun 2009 16:07:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14944</guid><dc:creator>Andrew Kelly</dc:creator><slash:comments>8</slash:comments><description>I just had a situation in which we are automating the comparing of databases and I came across a bunch of Defaults that were never explicitly named. This causes them to get a new name each time you create them and makes it much more difficult to write future update scripts when you don’t know the actual name it will be. In any case I decided to clean them up and since there were about a hundred I didn’t want to create all the cleanup code by hand and wrote a little script to generate the DROP &amp;amp;...(&lt;a href="http://sqlblog.com/blogs/andrew_kelly/archive/2009/06/26/cleaning-up-un-named-defaults.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14944" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/andrew_kelly/archive/tags/Best+Paractices/default.aspx">Best Paractices</category><category domain="http://sqlblog.com/blogs/andrew_kelly/archive/tags/Developer/default.aspx">Developer</category><category domain="http://sqlblog.com/blogs/andrew_kelly/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://sqlblog.com/blogs/andrew_kelly/archive/tags/TSQL/default.aspx">TSQL</category></item><item><title>Spooky: What do you connect to?</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2009/06/26/spooky-what-do-you-connect-to.aspx</link><pubDate>Fri, 26 Jun 2009 14:12:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14940</guid><dc:creator>TiborKaraszi</dc:creator><slash:comments>2</slash:comments><description>I only recently discovered that SSMS will connect to different things. For instance, press the "New query" button. What were you connected to? The answer is the same server as your "current" server. But what is the current server? It is the server where you happened to have focus when the pressed the "New query" button. So, can you say whether you had focus in a query window, Object Exporer or Registered Servers? This also applies to when you double-click a .sql file. And it doesn't stop there. Open...(&lt;a href="http://sqlblog.com/blogs/tibor_karaszi/archive/2009/06/26/spooky-what-do-you-connect-to.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14940" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/tibor_karaszi/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category><category domain="http://sqlblog.com/blogs/tibor_karaszi/archive/tags/Tools/default.aspx">Tools</category></item><item><title>Customizing the TCP Port for the Dedicated Administration Console (DAC)</title><link>http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/26/customizing-the-tcp-port-for-the-dedicated-administration-console-dac.aspx</link><pubDate>Fri, 26 Jun 2009 04:30:56 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14934</guid><dc:creator>Jonathan Kehayias</dc:creator><slash:comments>0</slash:comments><description>If you have a multi-instance SQL Server 2005/2008 Server that is behind a firewall, and you want to be able to remotely connect to the DAC, you have to create firewall rules that allow the TCP ports for the DAC through the firewall.&amp;#160; You can easily set the port that the SQL Server Instances listen on using the SQL Server Configuration Manager.&amp;#160; However, it doesn't include the DAC in the tool.&amp;#160; I had this problem over two years ago and ended up giving up on finding a solution to being...(&lt;a href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/26/customizing-the-tcp-port-for-the-dedicated-administration-console-dac.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14934" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/Database+Administration/default.aspx">Database Administration</category><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/Security/default.aspx">Security</category></item><item><title>Scalar UDFs wrapped in CHECK constraints are very slow and may fail for multirow updates</title><link>http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/06/25/scalar-udfs-wrapped-in-check-constraints-are-very-slow-and-may-fail-for-multirow-updates.aspx</link><pubDate>Fri, 26 Jun 2009 02:36:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14933</guid><dc:creator>Alexander Kuznetsov</dc:creator><slash:comments>0</slash:comments><description>Surely this sounds like common knowledge, yet I decided to post a simple benchmark demonstrating how slow they are - in this case almost 100 times slower than a foreign key. Recently Pure Krome asked a question on stackoverflow about implementing subtypes in the database and the discussion lead to such benchmarking. The DDL for parent and child tables Here is the parent table: CREATE TABLE dbo.Animals ( AnimalId INT NOT NULL IDENTITY PRIMARY KEY , AnimalType TINYINT NOT NULL, -- 1: Mammal, 2:Reptile,...(&lt;a href="http://sqlblog.com/blogs/alexander_kuznetsov/archive/2009/06/25/scalar-udfs-wrapped-in-check-constraints-are-very-slow-and-may-fail-for-multirow-updates.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14933" width="1" height="1"&gt;</description></item><item><title>The Hidden Costs of INSERT EXEC</title><link>http://sqlblog.com/blogs/adam_machanic/archive/2009/06/25/the-hidden-costs-of-insert-exec.aspx</link><pubDate>Thu, 25 Jun 2009 20:19:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14921</guid><dc:creator>Adam Machanic</dc:creator><slash:comments>5</slash:comments><description>INSERT and EXEC: relational brothers in arms, helping you get your data and then put it somewhere. But like all brothers, their relationship has its ups and downs and sometimes you need to look just below the surface to see the real issues. In this post I will cover hidden penalties that a decision--seemingly purely aesthetic--can bring to the fore. To illustrate the first of these examples I will be using the following table: USE tempdb GO CREATE TABLE dbo.MyTable ( [SalesOrderID] [int] NOT NULL,...(&lt;a href="http://sqlblog.com/blogs/adam_machanic/archive/2009/06/25/the-hidden-costs-of-insert-exec.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14921" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/adam_machanic/archive/tags/DMVs/default.aspx">DMVs</category><category domain="http://sqlblog.com/blogs/adam_machanic/archive/tags/exec/default.aspx">exec</category><category domain="http://sqlblog.com/blogs/adam_machanic/archive/tags/insert/default.aspx">insert</category><category domain="http://sqlblog.com/blogs/adam_machanic/archive/tags/Performance/default.aspx">Performance</category></item><item><title>What to do when Management Studio hangs?</title><link>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/25/what-to-do-when-management-studio-hangs.aspx</link><pubDate>Thu, 25 Jun 2009 19:52:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14922</guid><dc:creator>AaronBertrand</dc:creator><slash:comments>7</slash:comments><description>I have had a few occasions where I have been using Management Studio, and am suddenly and bluntly informed by Windows that I am demanding too much of the application. Windows is probably right; and it is only partially due to the fact that SSMS can be a resource hog at times, and partially due to the fact that I could have 30 or 40 active query windows at any one time. So what ends up happening is the app stops responding, and "(Not Responding)" gets painted onto the title bar. The temptation is...(&lt;a href="http://sqlblog.com/blogs/aaron_bertrand/archive/2009/06/25/what-to-do-when-management-studio-hangs.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14922" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/management+studio/default.aspx">management studio</category><category domain="http://sqlblog.com/blogs/aaron_bertrand/archive/tags/SSMS/default.aspx">SSMS</category></item><item><title>Table restore and filegroups</title><link>http://sqlblog.com/blogs/tibor_karaszi/archive/2009/06/25/table-restore-and-filegroups.aspx</link><pubDate>Thu, 25 Jun 2009 10:49:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14909</guid><dc:creator>TiborKaraszi</dc:creator><slash:comments>6</slash:comments><description>The story usually goes something like: Q - How can I restore only this table? A - Put it on its own filegroup and you can do filegroup level backup and restore. The problem with above answer is that it most likely misses the point. We need to ask ourselves: Why do you want to do a table level restore? The answer to the question is very often that the table need to be reverted to an earlier point in time, possibly because some accident happened; like deleting all rows in the table by mistake. (See...(&lt;a href="http://sqlblog.com/blogs/tibor_karaszi/archive/2009/06/25/table-restore-and-filegroups.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14909" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/tibor_karaszi/archive/tags/Backup/default.aspx">Backup</category><category domain="http://sqlblog.com/blogs/tibor_karaszi/archive/tags/Transaction+log/default.aspx">Transaction log</category></item><item><title>Using user_settable Event in Extended Events</title><link>http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/24/using-user-settable-event-in-extended-events.aspx</link><pubDate>Wed, 24 Jun 2009 21:42:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14904</guid><dc:creator>Jonathan Kehayias</dc:creator><slash:comments>1</slash:comments><description>A question came to me on Twitter today from Jason Hall regarding the user_settable Event in SQL Server 2008's Extended Events.&amp;#160; You can find the event in the the sys.dm_xe_objects DMV with the following query: SELECT * FROM sys.dm_xe_objects o WHERE o.name = 'user_settable' &amp;#160; AND o.object_type = 'event' What first struck me as odd is I couldn't find this event in the Extended Events Manager , and it is because the Event has no Keyword associated with it.&amp;#160; There are actually three Events...(&lt;a href="http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/06/24/using-user-settable-event-in-extended-events.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14904" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/Extended+Events/default.aspx">Extended Events</category><category domain="http://sqlblog.com/blogs/jonathan_kehayias/archive/tags/SQL+Server+2008/default.aspx">SQL Server 2008</category></item><item><title>DrillThrough Actions and (semi) Security in SSAS OLAP cubes</title><link>http://sqlblog.com/blogs/alberto_ferrari/archive/2009/06/24/drillthrough-actions-and-semi-security-in-ssas-olap-cubes.aspx</link><pubDate>Wed, 24 Jun 2009 15:52:11 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:14896</guid><dc:creator>AlbertoFerrari</dc:creator><slash:comments>0</slash:comments><description>Using SSAS 2005/2008, there is no way to apply security to DRILLTHROUGH actions, so we cannot decide whether a specific user is authorized or not to perform a specific action. This is a “by design” behavior, since DRILLTHROUGH actions are initiated at the client side, we can decide whether a user can perform or not DRILLTHROUGH but, once we let him do it, he can query anything he wants. Nevertheless, if we are not concerned with security but only with user experience, there is a simple trick to define...(&lt;a href="http://sqlblog.com/blogs/alberto_ferrari/archive/2009/06/24/drillthrough-actions-and-semi-security-in-ssas-olap-cubes.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://sqlblog.com/aggbug.aspx?PostID=14896" width="1" height="1"&gt;</description><category domain="http://sqlblog.com/blogs/alberto_ferrari/archive/tags/Security/default.aspx">Security</category><category domain="http://sqlblog.com/blogs/alberto_ferrari/archive/tags/SSAS/default.aspx">SSAS</category></item></channel></rss>