I want to get a list of all joins in all views in a SQL Server database.
I realise that I can get the view definition which will include the source for the join statement. But I want it expressed in a list form - something like: schema, view, join_sequence, column_sequence, table1_name, table1_col_name, table2_name, table2_col_name.
Anyone able to help?
I tried searching with Google to no avail.