如何得到列的某个表中列的描述内容

sql server2000中如何得到列的某个表其中列的描述内容
如表tabl 有列CustID,其中的描述内容是:“客户编号,主键”,
请问各位,谁知道“客户标号,主键”内容保存在哪里
---------------------------------------------------------------

SELECT *
FROM ::fn_listextendedproperty ('MS_Description', 'user', 'dbo', 'table', 'tab1', 'CustID', default)

---------------------------------------------------------------

SELECT value
FROM ::fn_listextendedproperty (NULL, 'user', 'dbo', 'table', 'tabl', 'column', 'CustID')

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus