Understanding APPLY Clause in SQL Server 2005
page 4 of 6
by Sachin Dedhia
Average Rating: 
Views (Total / Last 10 Days): 27576/ 75

The Tradeoff

Although this is a good feature, there is a performance issue associated with this enhancement.  If the outer table expression of the APPLY clause returns a huge result set, performance of the query may degrade due to the number of calls to the table-valued function.

View Entire Article

User Comments

Title: The Apply Clause   
Name: Shailesh
Date: 2010-09-16 9:51:08 AM
The presentation is better as compared to the MSDN article.

Small and Sweet!

Title: APPLY clause   
Name: Vivek
Date: 2009-07-08 11:24:18 AM
Excellent Explanation..
Title: The APPLY clause   
Name: Sachin Dedhia
Date: 2009-05-26 4:14:26 PM
Still cannot see why is apply clause any better than join for SQL 2005
Title: user   
Name: user
Date: 2009-04-24 1:22:09 PM
Beautifully explained
Title: "Using APPLY" MSDN article   
Name: Michael Freidgeim
Date: 2009-03-02 4:19:54 PM
You should add reference to "Using APPLY" MSDN article http://msdn.microsoft.com/en-us/library/ms175156.aspx

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2020 ASPAlliance.com  |  Page Processed at 2020-07-02 5:28:26 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search