DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

10
kicks
published 2 months, 18 days ago, submitted by UnicornNinja 2 months, 18 days ago

thebrainparasite.com — Some people are just unaware of the alternatives to performing a sub query. The performance gains can be substantial if you put the database engine to use!

Add a comment 2 comments | category: | Views: 7 | Get KickIt image code
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
You know, articles like this are painfully useless without any kind of look at what the DB does to optimize queries. His example query is so braindead as to be useless, though I'm mildly surprised that MySQL doesn't optimize it to something smarter.

In many cases, SQL Server will use the exact same execution plan for equivalent subquery and join based selects.
posted by mrkurt mrkurt 2 months, 18 days ago
Speaking of brain dead, at least I can form complete sentences. Also, SQL Server will not perform the same execution plan for sub queries beyond the simplest scenario. wonk wonk
posted by UnicornNinja 2 months, 18 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge