About 221,000 results
Open links in new tab
  1. SQL Server CROSS APPLY and OUTER APPLY Helpful Examples

    Oct 10, 2025 · Learn about SQL Server CROSS APPLY and OUTER APPLY and how they differ from regular JOINs and how to use these along with scripts and a video.

  2. SQL Server OUTER APPLY

    Summary: in this tutorial, you will learn how to use the SQL Server OUTER APPLY clause to perform a left join of a table with a table-valued function or a correlated subquery.

  3. OUTER APPLY in SQL Server -- When and Why to Use It

    Sep 22, 2025 · What is OUTER APPLY? OUTER APPLY is a table operator introduced in SQL Server 2005 that allows us to invoke a table-valued function for each row returned by an outer table …

  4. The Difference between CROSS APPLY and OUTER APPLY in SQL

    In this article we will take a look at the CROSS APPLY and OUTER APPLY operators. We will see how they are implemented practically with the help of an example and will also discuss how they differ …

  5. sql server - Where to use Outer Apply - Stack Overflow

    Jan 8, 2015 · In OUTER APPLY, it uses joining WHERE M.ID=D.ID inside the OUTER APPLY, so that each ID in Master will be joined with TOP 2 dates which will bring the following result.

  6. Cross Apply And Outer Apply With Examples - GeeksArray.com

    This article describes Cross Apply and Outer Apply and gives some examples with functions. The Apply operator joins two table valued expressions, the table on right is evaluated every time for each row of …

  7. CROSS APPLY and OUTER APPLY - Rishan Solutions

    Apr 28, 2025 · In SQL Server, CROSS APPLY and OUTER APPLY are operators that are used to join a table to a table-valued function or a subquery. These operators are part of SQL Server’s powerful …

  8. FROM clause plus JOIN, APPLY, PIVOT (T-SQL) - SQL Server

    In Transact-SQL, the FROM clause is available on the following statements: The FROM clause is usually required on the SELECT statement. The exception is when no table columns are listed, and …

  9. Mastering CROSS APPLY and OUTER APPLY in SQL Server: Advanced …

    Jun 12, 2025 · SQL Server's APPLY operators (CROSS APPLY and OUTER APPLY) solve limitations of traditional joins by enabling: Row-by-row processing (like a foreach loop in code)

  10. The Power of OUTER APPLY: A SQL Weapon to Expand Legacy Database

    Nov 28, 2024 · This article explores how OUTER APPLY can serve as a valuable asset to expand and optimize legacy views. OUTER APPLY is a powerful SQL operator that allows you to join a table to a …