Is there any natural join replacement in SQL Server 2005?
Posted
by truthseeker
on Stack Overflow
See other posts from Stack Overflow
or by truthseeker
Published on 2010-05-24T14:17:23Z
Indexed on
2010/05/24
14:21 UTC
Read the original article
Hit count: 335
Hi, I have two tables which I would like to join by ID field. I was trying to use for this "INNER JOIN". Everything would be good but there are two issues:
- As a result I receive twice column ID.
- I have to omit specifying columns which should be displayed under select statement. I would like to use there a *.
I red that other sql-s have something like natural join and that is probably (or not?) an answer for my question. Unfortunately there is no join like that in SQL Server (2005). Do anybody knows any good replacement of it?
© Stack Overflow or respective owner