About 195,000 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. Colleague says to never use an OR statement in SQL, is this true?

    Oct 16, 2020 · My colleague now responsible for SQL development says that I should never use an OR statement because it will mess up the query optimizer and ignore table indexes producing slow …

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

  4. How does different forms of EXISTS () affect performance in MS Sql ...

    Mar 7, 2024 · There's always the "case by case" aspect of a question like this, but in general, is there any performance gain from using the second implementation of EXISTS() over the first one?

  5. sql server - Join condition vs. WHERE...does it make a performance ...

    Oct 13, 2021 · Can it be detrimental to performance if I add additional conditions in the where clause rather than the join clause; or is this a part which typically gets simplified and handled equally in the …

  6. sql server - Is table partitioning improving performance? Is it worth ...

    A couple of quotes: "Partitioning can enhance query performance, but there is no guarantee." And, "In summary, partitioning is mostly for improved maintenance, fast loads, fast deletes and the ability to …

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

  8. sql server - How can I tell WHY an insert on a certain table is slow ...

    6 I can say what I am looking for when analyzing the performance of a query. Maybe it helps. analyze query execution plan and check for index scans, table scans, usage of convert_implicit functions for …

  9. UNION ALL slows down SQL request significantly

    Nov 11, 2021 · sql-server query-performance union Share Improve this question asked Nov 11, 2021 at 14:27

  10. Does "WHERE 1=1" usually have an impact on query performance?

    Generally speaking, does this addition to a SQL statment negatively affect query performance? I'm not looking for an answer in regard to a specific database system (because I have used it in DB2, SQL …