What are the INTERSECT Operators in SQL Server ?

INTERSECT operator in SQL Server is used to retrieve the common records from both the left and the right query of the Intersect Operator. INTERSECT operator returns almost the same results as the 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.



You May Interest

What is Deadlock in SQL Server ?

What is The Difference Between The Index Seek and Index Scan in S ...

What is The Concept of Piecemeal Restore on SQL Server ?

Getting List of System Hard Disks with Free Space in MS SQL Serve ...

Changing MS SQL Table Name with Query