DEV Community

randysims
randysims

Posted on • Originally published at randallsims.wordpress.com on

SQL Server Set Operators: UNION, INTERSECT, and EXCEPT

Did you know you can do set-based math with SQL Server? With the UNION, INTERSECT, and EXCEPT set operators, you can compare one result set to another and add or subtract results, called a compound query. This can be a handy tool for your toolbox… Continue reading SQL Server Set Operators: UNION, INTERSECT, and EXCEPT

Discussion (0)