Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Querying the Column Description
Message
From
19/01/2007 11:54:56
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
01186774
Message ID:
01187052
Views:
21
Hi Borissov,

Just FYI, apparently this will not work in SQL 2000, complaining that sys.extended_properties was not an object.

After tinkering with Sergey's solution ( via Naomi ), I was able to retrieve the data.

Bill

>
>This works on SQL 2005 (I can't test it right now on SQL 2000)
>
>SELECT *
> FROM sys.extended_properties
>LEFT JOIN INFORMATION_SCHEMA.Columns
>ON OBJECT_NAME(Major_Id) = INFORMATION_SCHEMA.Columns.Table_Name AND
>   Minor_Id = INFORMATION_SCHEMA.Columns.Ordinal_Position
>WHERE Class = 1
>
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform