I want to get column descriptions from SQL to put on my front end labels instead of hard coding them. I know I could probably do this through extended properties. Does anyone have any other ideas for creating and accessing this meta-data from the front end?
Try this query
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
In sql 7.0 and above you access the metadata using
INFORMATION_SCHEMA, all this are views based on the system table.
some other schema
INFORMATION_SCHEMA.TABLES
...
check BOL for more.
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.