The case against INFORMATION_SCHEMA views

Posted by AaronBertrand on SQL Blog See other posts from SQL Blog or by AaronBertrand
Published on Thu, 03 Nov 2011 15:49:00 GMT Indexed on 2011/11/11 18:14 UTC
Read the original article Hit count: 264

In SQL Server 2000, INFORMATION_SCHEMA was the way I derived all of my metadata information - table names, procedure names, column names and data types, relationships... the list goes on and on. I used the system tables like sysindexes from time to time, but I tried to stay away from them when I could. In SQL Server 2005, this all changed with the introduction of catalog views. For one thing, they're a lot easier to type. sys.tables vs. INFORMATION_SCHEMA.TABLES? Come on; no contest there - even...(read more)

© SQL Blog or respective owner

Related posts about catalog views

Related posts about INFORMATION_SCHEMA