Returns distinct values by comparing the results of two queries.
EXCEPT returns any distinct values from the left query that are not also found on the right query.
INTERSECT returns any distinct values that are returned by both the query on the left and right sides of the INTERSECT operand.
The basic rules for combining the result sets of two queries that use EXCEPT or INTERSECT are the following:
The number and the order of the columns must be the same in all queries.
The data types must be compatible.
Monday, May 12, 2008
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(13)
-
▼
May
(7)
- Application
- differences between httphandlers and httpmodules?
- how can i get the parent window objects in the chi...
- diiference between Except and Intersect in sql ser...
- difference between @Table datatype and temporary a...
- how can i get rownumber in sql server 2005?
- can i overload or override properties?
-
▼
May
(7)
No comments:
Post a Comment