Home
> IT Answers
> Business Intelligence
> Should we use system tables or information schema views to retrieve metadata if both give the same results? Please explain why.
In SQL Server 2000 you should be using the INFORMATION_SCHEMA views. In SQL Server 2005 and up you should refer to the system views. Starting in SQL Server 2005 there are no more system tables. Everything is held within these system catalog views. They are the views which are in the sys schema.
Eventually the INFORMATION_SCHEMA views will be removed from SQL Server, so it's best to begin using the system catalog views now.
Last Wiki Answer Submitted: June 9, 2008 10:44 pm by Denny Cherry64,520 pts.
All Answer Wiki Contributors: Denny Cherry64,520 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.