I have several tables which I want to join into one very large table (~950 columns). These tables all have a key to link them, but that key has the same name in all tables. So when I type in:
select a.*, b.*, c.*
from a left outer join b left outer join c
(I've simplified to save space)
I get a duplicate column error--the key column. What I'd like to do is to join every column but one from b and c to a. Is this possible without actually writing out each column name? This is something I'd like to be independent of table definitions. Sorry for the long post!
Thanks,
Paul
select a.*, b.*, c.*
from a left outer join b left outer join c
(I've simplified to save space)
I get a duplicate column error--the key column. What I'd like to do is to join every column but one from b and c to a. Is this possible without actually writing out each column name? This is something I'd like to be independent of table definitions. Sorry for the long post!
Thanks,
Paul