Finding Shared Columns in SQL Server

Posted by smoore on Stack Overflow See other posts from Stack Overflow or by smoore
Published on 2010-05-04T16:58:47Z Indexed on 2010/05/04 17:28 UTC
Read the original article Hit count: 145

Filed under:
|
|

Is there a quick query I can run that returns all columns of the same name between two tables?

I have many pairs of tables that I know are tied together, but I'm not sure which of the 50 or so columns they have in common.

© Stack Overflow or respective owner

Related posts about sql

Related posts about tsql