Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add Extended Property to Database
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00685967
Message ID:
00686022
Views:
47
Thanks once again Sergey !


>>Hi,
>>
>>I know how to add extended properties to tables and columns using sp_addextendedproperty - but I can't find any examples of adding extended properties to the database itself. I know that SQL Server 2000 supports extended properties on the database because Query Analyzer allows me to add them at the database level - I just can't figure out how to do this prgramatically...
>>
>>Any suggestions would be appreciated.
>>
>
>If all object types and names are nulls, then the property belongs to the current database.
USE pubs
>EXEC sp_addextendedproperty 'caption', 'This is Pubs DB'
Al Williams

Anola MB, CANADA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform