Troubleshooting problems with joins in SQL Server 2017 If you have problems with joins in SQL Server 2017, review this troubleshooting checklist to find potential solutions. 1. You may receive an incorrect result when you run a query that uses a parallel execution plan with Merge Semi join. This is SQL Server 2017 bug. To work around this problem, you...
Tag: merge join
Troubleshooting problems with joins in SQL Server 2016
Troubleshooting problems with joins in SQL Server 2016 If you have problems with joins in SQL Server 2016, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2016 service pack. Because many join bugs were fixed in SQL Server 2016 service packs, you should install the latest SQL Server service pack. At the time this...
Using the SSIS Merge Join to Synchronize Tables – Part 2
November 2014 Using the SSIS Merge Join to Synchronize Tables – Part 2 By Rocco Mastrangelo This article is Part 2 of a two-part series that describes how to keep two database tables synchronized using the Merge Join transform within Microsoft SQL Server Integration Services (SSIS). This solution is particularly useful for any ETL process that requires refreshing a target...
Using the SSIS Merge Join to Synchronize Tables – Part 1
November 2014 Using the SSIS Merge Join to Synchronize Tables – Part 1 By Rocco Mastrangelo This article is Part 1 of a two-part series which describes how to keep two database tables synchronized using the Merge Join transform within Microsoft SQL Server Integration Services (SSIS). This solution is particularly useful for any ETL process that requires refreshing a target...
Tips for using Join Hints in SQL Server 2014
Tips for using Join Hints in SQL Server 2014 Use join hints very carefully. Because SQL Server 2014 query optimizer usually proposes the best execution plan, it is very unlikely that you can optimize your query by using join hints, more often, this will hurt performance. Try to rewrite the query to provide better execution plan. If your query is...
Types of Join in SQL Server – (Part 1)
Types of Join in SQL Server – Part 1 Author: Basit A. Farooq In this two part article series, I will discuss different types of joins available in SQL Server. You use a join to combine data from different tables into a single result set. Joins most commonly use foreign key relationships. Some important points about joins include: Joins are...
Tips for using SQL Server 2012 Join Hints
Tips for using SQL Server 2012 Join Hints If you want to set any join hints, do not remember to test the query with hint and without the hint and compare results. Because SQL Server 2012 query optimizer usually proposes the best execution plan, you should test the query with join hint and use this hint only when it provides...
Troubleshooting problems with joins in SQL Server 2008 R2
Troubleshooting problems with joins in SQL Server 2008 R2 If you have problems with joins in SQL Server 2008 R2, review this troubleshooting checklist to find potential solutions. 1. Install the latest SQL Server 2008 R2 service pack. Because many SQL Server 2008 R2 join bugs were fixed in SQL Server service packs, you should install the latest SQL Server...