About 50 results
Open links in new tab
  1. sql server - Outer Apply vs Left Join Performance - Database ...

    Aug 27, 2014 · I am Using SQL SERVER 2008 R2 I just came across APPLY in SQL and loved how it solves query problems for so many cases, Many of the tables I was using 2 left join to get the result, I …

  2. sql server - Best practice between using LEFT JOIN or NOT EXISTS ...

    Nov 14, 2015 · Is there a best practice between using a LEFT JOIN or a NOT EXISTS format? What is benefit to using one over the other? If none, which should be preferred? SELECT * FROM tableA A …

  3. Performance degradation after migrating from SQL Server 2016 to SQL ...

    Feb 20, 2024 · I have migrated our load test environment from SQL Server 2016 to SQL Server 2022 (Developer edition). Here are some findings: Changed compatibility level of databases to 160 (for …

  4. sql server - Performance with IN clause - Database Administrators …

    Does indexed data affect query performance? means If I passed value as 1,2,3,4... in ordered form in any IN clause, can it improve query performance? and what happen in case I pass value randomly 2...

  5. Improve SQL Performance with LIKE '%ABC%' QUERY

    Apr 29, 2015 · The SQL server is Windows 2012 R2 with SQL Server 2014 Std, and has been built following the Azure SQL performance guidelines (i.e. data on a dedicated striped drive).

  6. sql server - Why OFFSET / FETCH causing Performance issues with …

    Mar 13, 2024 · Explore related questions sql-server query-performance sql-server-2019 offset-fetch See similar questions with these tags.

  7. SQL Server commands to clear caches before running a performance ...

    When comparing the execution time of two different queries, it's important to clear the cache to make sure that the execution of the first query does not alter the performance of the second. In a ...

  8. sql server - How can I improve the performance of where clause with ...

    Dec 9, 2021 · How can I improve the performance of where clause with LIKE %abc? Ask Question Asked 4 years ago Modified 4 years ago

  9. sql server - Performance difference for COALESCE versus ISNULL ...

    COALESCE is internally translated to a CASE expression, ISNULL is an internal engine function. COALESCE is an ANSI standard function, ISNULL is T-SQL. Performance differences can and do …

  10. sql server - Does a select within a where clause affect performance ...

    Feb 22, 2023 · I know that we should avoid using functions in the where clause of a query wherever possible since the function will run for every row to return the proper results. However, does the …