Hi,
I am using sql 2000. can anyone tell me where the column description is stored in the database?
In your design of the table, you can actually describe the column by giving it a meaningfull name in the bottom section of the design.
Thanks
The recommended way to find metadata information is INFORMATION_SCHEMA views (based on underlying system tables like syscolumns)
In your case:
SELECT * FROM INFORMATION_SCHEMA.COLUMNS
while it is possible to query system tables directly, it is not a good idea
Extended properties cannot be specified in the CREATE TABLE statement . They must be added with sp_addextendedproperty prosedure.
and later retrieved with FN_LISTEXTENDEDPROPERTY function.
All "standard" properties specified at design time could be retrieved with
SELECT COLUMNPROPERTY( OBJECT_ID('<table_name>'),'<column_name>','<property_name>')
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.