Error!
Success!

SQL SERVER - 2005 - Difference Between INTERSECT and INNER JOIN

0
kicks

SQL SERVER - 2005 - Difference Between INTERSECT and INNER JOIN  (Unpublished)

INTERSECT operator in SQL Server 2005 is used to retrieve the common records from both the left and the right query of the Intersect Operator. INTERSECT operator returns almost same results as INNER JOIN clause many times. When using INTERSECT operator the number and the order of the columns must be the same in all queries as well data type must be compatible. Let us see understand how INTERSECT and INNER JOIN are related.We will be using AdventureWorks database to demonstrate our example.


Kicked By:
Drop Kicked By: