You're welcome.
>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'
--sb--