• subscribe
October 24, 2001 12:00 AM

Tip: Maintaining a Data Dictionary

SQL Server Pro
InstantDoc ID #22398

Extended properties are a great way to store business and technical definitions for tables and columns if you need to create a data dictionary for your database. However, extended properties aren't especially helpful if you don't have an easy way to add new properties and edit their definitions. Query Analyzer provides a simple but relatively unknown mechanism for working with properties.

In Figure A, I created a property called MS_Description on the au_id column of the authors table. Figure B shows how to edit this value through Query Analyzer in a few easy steps:

  1. Open Query Analyzer and launch the Object Browser.
  2. Navigate to the au_id column of the authors table.
  3. Right-click the au_id column and select Extended properties.

A simple dialog box lets you create new extended properties or edit existing ones.



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 ...