Random Technical "Stuff"
Friday, October 22, 2010
Sql - search for column comments
Technical reference - an easy way to query the system tables to search for column comments.
select
*
from s
ys
.
extended_properties
where
class
=
1
and
major_id
=
object_id
(
N'<<schema>>.<<table>>'
)
and
name
=
'MS_Description'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment