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. 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).

  5. 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.

  6. 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 …

  7. 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...

  8. 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 …

  9. How does shrinking a SQL Server log file affect performance?

    I have a SQL Server 2008 database that has a data file of some 2GB in size, but the log file is over 8GB. With pre-2008 databases I could use the 'Backup log' and the TRUNCATE_ONLY option but this ...

  10. sql server - Performance Concerns with UniqueIdentifiers (GUIDs ...

    Aug 20, 2021 · Performance Concerns with UniqueIdentifiers (GUIDs) Ask Question Asked 4 years, 4 months ago Modified 4 years, 4 months ago