Database Help Framework Views
View | Description |
---|---|
doc.view_diagrams | This view is an Excel form for editing diagram help. |
doc.view_history | This view is an Excel form for editing database history. |
doc.view_index | This view is an index for Excel and DBEdit workbooks. |
doc.view_objects | This view is an Excel form for editing database object help. |
doc.view_online_help_handlers | This view selects the handler configuration for the Actions menu. |
doc.view_orphan_rows | This view is an Excel form for editing orphan rows. |
doc.view_pages | This view is an Excel form for editing page help. |
doc.view_properties | This view is an Excel form for editing HTML page properties. |
doc.view_query_list | This view selects framework objects for the SaveToDB Connection Wizard and SaveToDB Query List. |
doc.view_routine_columns | This view is an Excel form for editing routine column help. |
doc.view_routine_parameters | This view is an Excel form for editing routine parameter help. |
doc.view_table_columns | This view is an Excel form for editing table column help. |
doc.view_translations | This view is an Excel form for editing the doc.translations table data. |
doc.view_view_columns | This view is an Excel form for editing view column help. |
doc.view_diagrams
This view is an Excel form for editing diagram help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
ID | int | doc.help.ID |
DIAGRAM_SCHEMA | nvarchar(20) | Related database schema
doc.help.TABLE_SCHEMA |
DIAGRAM_NAME | nvarchar(128) | Diagram name
doc.help.TABLE_NAME Use names like Diagram 01, Diagram 02, etc. |
DIAGRAM_URL | nvarchar(255) | Diagram image URL
doc.help.COLUMN_NAME Note that the field has max length 255 characters. |
LANGUAGE_NAME | char(2) | Two characters of the description language code like 'en' or 'fr' |
VERSION | nvarchar(50) | Diagram version for informational purposes |
TITLE | nvarchar(1024) | Diagram title
doc.help.DESCRIPTION |
COMMENT | nvarchar(max) | Diagram complete description
doc.help.COMMENT |
To add a new diagram, add or copy the row.
Note that DIAGRAM_SCHEMA, DIAGRAM_NAME, DIAGRAM_URL, and LANGUAGE_NAME must be unique within the table.
doc.view_history
This view is an Excel form for editing database history.
Source tables: doc.help, doc.history
Column | DataType | Comment |
---|---|---|
ID | int | doc.history.ID |
EXCEL_SORT_ORDER | bigint | Use this column to sort rows in Microsoft Excel.
Save the changes in the table to update the field. |
SECTION_SORT_ORDER | tinyint | This field has a numeric value of SECTION_ID.
You may use it for sorting data or conditional formatting. |
TABLE_SCHEMA | nvarchar(20) | Related database schema
doc.history.TABLE_SCHEMA |
SECTION_ID | tinyint | doc.history.SECTION_ID |
LANGUAGE_NAME | char(2) | doc.history.LANGUAGE_NAME |
VERSION | nvarchar(50) | doc.history.VERSION |
SORT_ORDER | tinyint | doc.history.SORT_ORDER within a section |
DESCRIPTION | nvarchar(1024) | doc.history.DESCRIPTION |
COMMENT | nvarchar(max) | doc.history.COMMENT
The value is not used with version titles. |
To add a new record, add or copy the row.
doc.view_index
This view is an index for Excel and DBEdit workbooks.
Column | DataType | Comment |
---|---|---|
# | bigint | Row number |
object | nvarchar(257) | Object name |
The SaveToDB add-in and DBEdit allows using
doc.view_objects
This view is an Excel form for editing database object help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
SECTION_ID | int | doc.sections.id
1 - database objects 2 - schemas 3 - roles 6 - database properties |
TABLE_SCHEMA | nvarchar(128) | Object schema or pseudo-schema:
database - database properties roles - database roles schemas - database schemas |
TABLE_NAME | nvarchar(128) | Object, role, schema, or property name
The database properties includes: stylesheet_href - URL of the stylesheet head - any value in the COMMENT column to include into the HTML head section title - document title |
TYPE | nvarchar(4000) | INFORMATION_SCHEMA.TABLES.TABLE_TYPE,
INFORMATION_SCHEMA.ROUTINES.ROUTINE_TYPE |
LANGUAGE_NAME | varchar(2) | doc.help.LANGUAGE_NAME |
VERSION | nvarchar(50) | doc.help.VERSION |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
COMMENT | nvarchar(max) | doc.help.COMMENT |
HAS_COMMENTS | int | 1 - has comments
0 - has no comments |
The view selects all database objects and related properties.
You cannot add new rows. You may delete rows to delete help topics.
Use the doc.view_orphan_rows view to edit object names after name changes in a database.
doc.view_online_help_handlers
This view selects the handler configuration for the Actions menu.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
TABLE_SCHEMA | nvarchar(128) | doc.help.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | doc.help.TABLE_NAME |
COLUMN_NAME | nvarchar(128) | NULL |
EVENT_NAME | varchar(7) | Actions |
HANDLER_SCHEMA | nvarchar(128) | doc.help.TABLE_SCHEMA |
HANDLER_NAME | nvarchar(280) | Online Database Help - <schema>.<name> |
HANDLER_TYPE | varchar(13) | HTTP or MENUSEPARATOR |
HANDLER_CODE | nvarchar(max) | Online help hyperlink |
TARGET_WORKSHEET | nvarchar(30) | NULL |
MENU_ORDER | int | Handler order in the context menu (90, 91) |
EDIT_PARAMETERS | bit | NULL |
The view adds items to the Actions menu to open the online help.
The underlying object must have help topics and the object schema must have the online_help_url value.
doc.view_orphan_rows
This view is an Excel form for editing orphan rows.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
ID | int | doc.help.ID |
SECTION_ID | tinyint | doc.help.SECTION_ID |
TABLE_SCHEMA | nvarchar(20) | doc.help.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | doc.help.TABLE_NAME |
COLUMN_NAME | nvarchar(255) | doc.help.COLUMN_NAME |
LANGUAGE_NAME | char(2) | doc.help.LANGUAGE_NAME |
VERSION | nvarchar(50) | doc.help.VERSION |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
COMMENT | nvarchar(max) | doc.help.COMMENT |
Use this view to change object names after name changes in a database.
You may delete rows to delete help topics.
doc.view_pages
This view is an Excel form for editing page help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
TABLE_SCHEMA | nvarchar(128) | Related database schema |
TABLE_NAME | varchar(12) | Page name. See the description below. |
LANGUAGE_NAME | varchar(2) | Two characters of the description language code like 'en' or 'fr' |
VERSION | nvarchar(50) | Page version for informational purposes. |
DESCRIPTION | nvarchar(1024) | Page title.
The field has name DESCRIPTION to be consistent with other tables. |
COMMENT | nvarchar(max) | Page content |
The view selects the predefined pages included in the generated documentation for every database schema:
- introduction
- diagrams
- roles
- schemas
- tables
- views
- procedures
- functions
- conclusion
You may omit the description shown as a header h3.
doc.view_properties
This view is an Excel form for editing HTML page properties.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
SECTION_ID | int | doc.help.SECTION_ID |
TABLE_SCHEMA | nvarchar(128) | doc.help.TABLE_SCHEMA |
TABLE_NAME | varchar(15) | doc.help.TABLE_NAME |
LANGUAGE_NAME | varchar(2) | doc.help.LANGUAGE_NAME |
COMMENT | nvarchar(max) | doc.help.COMMENT |
Use this view to customize the generated HTML help.
doc.view_query_list
This view selects framework objects for the SaveToDB Connection Wizard and SaveToDB Query List.
Source tables: doc.objects
Column | DataType | Comment |
---|---|---|
TABLE_SCHEMA | nvarchar(128) | doc.objects.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | doc.objects.TABLE_NAME |
TABLE_TYPE | varchar(10) | INFORMATION_SCHEMA.TABLES.TABLE_TYPE |
TABLE_CODE | nvarchar(max) | Not used |
INSERT_PROCEDURE | nvarchar(max) | doc.objects.INSERT_OBJECT |
UPDATE_PROCEDURE | nvarchar(max) | doc.objects.UPDATE_OBJECT |
DELETE_PROCEDURE | nvarchar(max) | doc.objects.DELETE_OBJECT |
PROCEDURE_TYPE | varchar(9) | Information column, not used:
TABLE - the add-in saves data into the specified table PROCEDURE - the add-in saves data using the specified procedures |
See also [Configuring Query Lists](/savetodb/configuring-query-listSee also Configuring Query Lists.
.htm).
doc.view_routine_columns
This view is an Excel form for editing routine column help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
TABLE_SCHEMA | nvarchar(128) | INFORMATION_SCHEMA.ROUTINE_COLUMNS.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | INFORMATION_SCHEMA.ROUTINE_COLUMNS.TABLE_NAME |
ORDINAL_POSITION | int | INFORMATION_SCHEMA.ROUTINE_COLUMNS.ORDINAL_POSITION |
COLUMN_NAME | nvarchar(128) | INFORMATION_SCHEMA.ROUTINE_COLUMNS.PARAMETER_NAME |
DATA_TYPE | nvarchar(191) | INFORMATION_SCHEMA.ROUTINE_COLUMNS.DATA_TYPE |
LANGUAGE_NAME | varchar(2) | Two characters of the description language code like 'en' or 'fr' |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
HAS_COMMENTS | bit | 1 - has comments
0 - has no comments |
The view selects all actual function output columns and input parameters.
You cannot add new rows. You may delete rows to delete help topics.
Use the doc.view_orphan_rows view to edit object names after name changes in a database.
doc.view_routine_parameters
This view is an Excel form for editing routine parameter help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
ROUTINE_SCHEMA | nvarchar(128) | doc.help.TABLE_SCHEMA |
ROUTINE_NAME | nvarchar(128) | doc.help.TABLE_NAME |
ORDINAL_POSITION | int | INFORMATION_SCHEMA.PARAMETERS.ORDINAL_POSITION |
PARAMETER_NAME | nvarchar(128) | INFORMATION_SCHEMA.PARAMETERS.PARAMETER_NAME, doc.help.COLUMN_NAME |
DATA_TYPE | nvarchar(191) | INFORMATION_SCHEMA.PARAMETERS.DATA_TYPE |
PARAMETER_MODE | nvarchar(10) | INFORMATION_SCHEMA.PARAMETERS.PARAMETER_MODE |
LANGUAGE_NAME | varchar(2) | Two characters of the description language code like 'en' or 'fr' |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
HAS_COMMENTS | bit | 1 - has comments
0 - has no comments |
The view selects all actual stored procedure parameters.
You cannot add new rows. You may delete rows to delete help topics.
Use the doc.view_orphan_rows view to edit object names after name changes in a database.
doc.view_table_columns
This view is an Excel form for editing table column help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
TABLE_SCHEMA | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.TABLE_NAME |
ORDINAL_POSITION | int | INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION |
COLUMN_NAME | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME |
DATA_TYPE | nvarchar(191) | INFORMATION_SCHEMA.COLUMNS.DATA_TYPE |
IS_PK | int | INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE.COLUMN_NAME |
IS_IDENTITY | int | sys.columns.is_identity |
IS_NULLABLE | int | INFORMATION_SCHEMA.COLUMNS.IS_NULLABLE |
REFERENTIAL_COLUMN | nvarchar(386) | INFORMATION_SCHEMA.KEY_COLUMN_USAGE.COLUMN_NAME |
LANGUAGE_NAME | varchar(2) | Two characters of the description language code like 'en' or 'fr' |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
HAS_COMMENTS | bit | 1 - has comments
0 - has no comments |
The view selects all actual table columns.
You cannot add new rows. You may delete rows to delete help topics.
Use the doc.view_orphan_rows view to edit object names after name changes in a database.
doc.view_translations
This view is an Excel form for editing the doc.translations table data.
Source tables: doc.help, doc.translations
Column | DataType | Comment |
---|---|---|
ID | int | doc.translations.ID |
TABLE_SCHEMA | nvarchar(20) | doc.translations.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | doc.translations.TABLE_NAME |
COLUMN_NAME | nvarchar(128) | doc.translations.COLUMN_NAME |
LANGUAGE_NAME | char(2) | doc.translations.LANGUAGE_NAME |
TRANSLATED_NAME | nvarchar(128) | doc.translations.TRANSLATED_NAME |
TRANSLATED_DESC | nvarchar(1024) | doc.translations.TRANSLATED_DESC |
TRANSLATED_COMMENT | nvarchar(2000) | doc.translations.TRANSLATED_COMMENT |
The view selects data from doc.translations filtered for active schemas only.
doc.view_view_columns
This view is an Excel form for editing view column help.
Source tables: doc.help
Column | DataType | Comment |
---|---|---|
SORT_ORDER | bigint | This is an auto-generated column used to sort rows in Microsoft Excel |
TABLE_SCHEMA | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.TABLE_SCHEMA |
TABLE_NAME | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.TABLE_NAME |
ORDINAL_POSITION | int | INFORMATION_SCHEMA.COLUMNS.ORDINAL_POSITION |
COLUMN_NAME | nvarchar(128) | INFORMATION_SCHEMA.COLUMNS.COLUMN_NAME |
DATA_TYPE | nvarchar(191) | INFORMATION_SCHEMA.COLUMNS.DATA_TYPE |
REFERENTIAL_COLUMN | nvarchar(386) | INFORMATION_SCHEMA.VIEW_COLUMN_USAGE |
LANGUAGE_NAME | varchar(2) | Two characters of the description language code like 'en' or 'fr' |
DESCRIPTION | nvarchar(1024) | doc.help.DESCRIPTION |
HAS_COMMENTS | bit | 1 - has comments
0 - has no comments |
The view selects all actual view columns.
You cannot add new rows. You may delete rows to delete help topics.
Use the doc.view_orphan_rows view to edit object names after name changes in a database.
In this article