• subscribe
December 19, 2001 12:00 AM

Accessing Extended Properties in a Web-Based Application

SQL Server Pro
InstantDoc ID #23326
Downloads
23326.zip

I'm building a Web-based SQL Server administration application to show views, tables, and columns. I use the syscolumns and sysobjects system tables to retrieve the data. Can I use a view to access the Column Description extended property for a column that a user has added?

You can't access extended properties from the information_schema views because extended properties aren't part of the ANSI standard for databases and because the information_schema views show you ANSI-standard objects. However, in SQL Server 2000, you can use the code sample that Listing 2 shows to retrieve them. Note that SQL Server 2000 stores the information about extended properties in the sysproperties system table, but future releases might not store the properties in the same system table.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...