Extended properties on table columns
clamk123
Posts: 40
How can I access extended properties on tables programmatically?
If I go through the ExtendedProperties it has the level1types and level0type information, but the value doesn't seem to appear for that property. Are extended properties accessed elsewhere since this was deprecated in SDK 10? These would be column extended properties such as:
EXEC sys.sp_addextendedproperty @name = N'MS_DescriptionExample', @value = N'User first name', @level0type = N'SCHEMA', @level0name = 'dbo', @level1type = N'TABLE', @level1name = 'MyTable', @level2type=N'COLUMN', @level2name=N'FirstName';
If I go through the ExtendedProperties it has the level1types and level0type information, but the value doesn't seem to appear for that property. Are extended properties accessed elsewhere since this was deprecated in SDK 10? These would be column extended properties such as:
EXEC sys.sp_addextendedproperty @name = N'MS_DescriptionExample', @value = N'User first name', @level0type = N'SCHEMA', @level0name = 'dbo', @level1type = N'TABLE', @level1name = 'MyTable', @level2type=N'COLUMN', @level2name=N'FirstName';
Comments
Redgate Software