Home All Groups Group Topic Archive Search About

Original table of view column

Author
23 Oct 2006 3:17 PM
siftee
I need to know the underlying table of a column in a view.  Using getschema("Columns") i can get a list of the columns in the view, but not the table that they come from.  Using getschema("ViewColumns") gives me the table that they come from but not if they are visible or not in the view... it includes all columns from all tables in the view regardless if they are visible in the view or not.

What I need is to get a list of columns in the view and the table that they belong to.  What's the best way to do this? Any advice?


EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com

AddThis Social Bookmark Button