I have a view which returns 30 columns. The view is created by inner join of three tables. I wish to find out which column was taken from which table using a query rather than going through the view line by line.
Is there a way to do that in sql server 2008?
thanks in advance
I have a view which returns 30 columns. The view is created by inner
Share
No, there isn’t.
If the tables that the data came from are important, you can, in your view, use aliases to the columns to identify what tables they came from.
This will, however, negate the reason for having a view in the first place.