Anyone know how to query sysobjects & syproperties showing the table,
field name, and field properties (specifically the description)? I
have so far:
SELECT *
FROM sysproperties sp
INNER JOIN sysobjects so
ON sp.id = so.id
SELECT *
FROM syscolumns sc
INNER JOIN sysobjects so
ON sc.id = so.id
WHERE so.type = 'U'
....not sure how to join the two. The 'ID' column refers to the table
ID and not the field ID.
field name, and field properties (specifically the description)? I
have so far:
SELECT *
FROM sysproperties sp
INNER JOIN sysobjects so
ON sp.id = so.id
SELECT *
FROM syscolumns sc
INNER JOIN sysobjects so
ON sc.id = so.id
WHERE so.type = 'U'
....not sure how to join the two. The 'ID' column refers to the table
ID and not the field ID.
Comment