SQL Doc 2

Setting up the documentation

To set up the documentation:

  1. Click  New Project to create a new project, and then set up the project as required.
  2. Preview the documentation, to ensure it contains the objects you want to document.
  3. If required, edit the object descriptions.
  4. Click  Generate Documentation to start generating the documentation.

Selecting the databases and objects to document

You specify the objects you want to document by selecting the appropriate check boxes in the Databases and objects to document pane.

SQL Doc only displays the databases and objects for which you have permissions.

If the database structure has been modified while you are working on a documentation project, click  Refresh to update the list. SQL Doc retains your object selection when it refreshes the list of databases and objects.

Editing object descriptions

For each object, SQL Doc displays the text that is stored in the MS_Description extended property in your SQL Server database. For tables, you can edit descriptions for columns, indexes, triggers, and constraints; for views, you can edit descriptions for columns, indexes, and triggers.

To edit an MS_Description extended property, you must have the appropriate permissions.

To edit object descriptions:

  1. Click  for the required description.
    The Edit Object Descriptions dialog box is displayed:
  2. Type the description in the box.
  3. To edit descriptions for other objects that SQL Doc is currently displaying, use the Previous and Next buttons to navigate between the objects.
  4. Click Update Database to save all your changes.
    SQL Doc updates the extended properties in your SQL Server database, and refreshes the documentation preview to show your new descriptions.

Didn't find what you were looking for?