I think this could do the trick:
<pre>SELECT o.name, e.value
FROM sys.objects o JOIN sys.extended_properties e
ON o.object_id = e.major_id AND
e.name = N'MS_Description'
WHERE e.minor_id = 0
AND o.name = 'you_table';</pre>
Last Wiki Answer Submitted: May 11, 2009 2:36 pm by carlosdl63,535 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.