Welcome to TechNet Blogs Sign in | Join | Help

How to parse the view definition and get the base tables and base columns information

You can use INFORMATION_SCHEMA.VIEW_TABLE_USAGE and INFORMATION_SCHEMA.VIEW_COLUMN_USAGE from SQL70 onwards. And you can use sys.sql_dependencies in SQL Server 2005.
Published Tuesday, March 06, 2007 9:36 AM by vishah
Filed under:

Comments

Anonymous comments are disabled
 
Page view tracker