SELECT TOP can be slower than SET ROWCOUNT

Posted by: SQL Server 2005 Distilled, on 21 Oct 2005 | View original | Bookmarked: 0 time(s)

Davide Mauri shows an example of scenarios where SELECT TOP can be slower than SET ROWCOUNT. I tried his example in SQL Server 2000 (SP 3a) and SQL Server 2005 (Sept CTP), and verified that SET ROWCOUNT returned results at least five times faster as compared to SELECT TOP. weblogs.sqlteam.com/dmauri/archive/2005/10/21/8076.aspx ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2830 | Hits: 304

Similar Posts

  • How to create a DropDownList with ASP.NET MVC more
  • format-DateTime with XSL more
  • WPF Bindings and CurrentCulture Formatting more
  • querySelectorAll on old IE versions: something that doesnt work more
  • The MethodLinq concept more
  • Mocking indexer setters with Moq more
  • Changing Configuration Settings in a Desktop Client Application more
  • Mocking indexer getters with Moq more
  • Pretty Code #1 Building SelectListItems more
  • Behaviors vs Subclassing in Silverlight more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD