I need a way to deconstruct a view. That is, for a given column in a view, find the reference table / column that was used to construct the view. I know that
Select * from information_schema.view_column_usage
will give me the source tables and columns for the entire view, but it does not give me the specific reference for any given column. Any suggestions?
(MS SQL 2000)
Thanks.
Select * from information_schema.view_column_usage
will give me the source tables and columns for the entire view, but it does not give me the specific reference for any given column. Any suggestions?
(MS SQL 2000)
Thanks.