SQL Doc - 2.0
Learning SQL Doc - 2.0
Setting up the documentation
To set up the documentation:
- Click
New Project to create a new project, and then set up the project as required. - Preview the documentation, to ensure it contains the objects you want to document.
- If required, edit the object descriptions.
- 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:
- Click
for the required description.The Edit Object Descriptions dialog box is displayed.

- Type the description in the box.
- To edit descriptions for other objects that SQL Doc is currently displaying, use the Previous and Next buttons to navigate between the objects.
- 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.
See also |
Was this article helpful?
SQL Doc
- Logging and log files
- Database description runs off page (Version 1.x)
- Changing the project save location (Version 1.x)
- Assertion failure outputting in CHM format
- No database objects are visible for databases using compatibility level 70
- Can't see database objects
- SQL Doc fails with 'Object reference not set to an instance of an object'
- Retaining CHM documentation source files
- Unhandled exception: input string was not in a correct format
- Minimum database permissions required for the user running SQL Doc
- SQL Doc database object description persistence
- Installing HTML Help Workshop fails silently
- Unable to cast object of type 'bn' to type 'bh'
- Logging and log files
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Doc
- Activating your products
- Activating your products
- Getting help offline
- SQL Doc release notes - version 2.xx
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SQL Doc
Setting up the documentation project