The information in this article applies to:
SYMPTOMSIn attempting to produce the Cartesian product of a table with itself, a self-join without a WHERE clause produces only the table itself. CAUSE
A self-join without a WHERE clause does not produce a Cartesian
product unless the two instances of the table are given aliases and
the select list includes columns from both aliases. The following
does not produce a Cartesian product:
WORKAROUND
The following does produce a Cartesian product:
This is the intended operation of SQL Server. Additional query words: Transact-SQL Windows NT
Keywords : kbprg SSrvProg SSrvServer SSrvWinNT |
Last Reviewed: March 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |