Hello,
Thanks for the script.
An interesting experiment, but unless there were hundreds of Views in a DB, I think I would prefer using a straight select e.g. Select * From INFORMATION_SCHEMA.VIEW_TABLE_USAGE Order By TABLE_NAME, VIEW_NAME
Regards,
John Marsh
www.sql.lu
SQL Server Luxembourg User Group