MDXer's approach is better because the INFORMATION_SCHEMA view is supposed to be an abstraction layer and shield from the 'sys' tables so that Microsoft can change them at will. Of course, I think stuff would break all over the place if and when they did, but hey, we have been warned.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.