February 19, 2010

Mapping SQL Server 2000 System Tables to SQL Server 2005/2008 System Views

I keep emphasizing the need for SQL Server Developers and DBA’s to regularly check out SQL Server Books Online (BOL). This post is yet another example why you should be doing so.

If you have ever wondered to map the system tables that are in the master database in SQL Server 2000 to their corresponding system views or functions in SQL Server 2008, then here’s a very good article in BOL to look at

Mapping System Tables to System Views (Transact-SQL)

Here’s a snapshot of what the table looks like.


This table is extremely useful for developers migrating their code from SQL Server 2000 to SQL Server 2005 or higher. Check the entire table over here

Why should I use System Views now instead of System Tables?

Again, check the BOL to see why you should be using System Views/Catalog Views. Here’s the link: http://msdn.microsoft.com/en-us/library/ms174365(SQL.90).aspx

About The Author

Suprotim Agarwal, ASP.NET Architecture MVP works as an Architect Consultant and provides consultancy on how to design and develop Web applications.

Suprotim is also the founder and primary contributor to DevCurry, DotNetCurry and SQLServerCurry. He has also written an EBook 51 Recipes using jQuery with ASP.NET Controls.

Follow him on twitter @suprotimagarwal

No comments: