Database Tour ![]() |
![]() ![]() |
Table Mappings Attributes |
Here is the full list of table mappings attributes which are available in Database Tour GUI and when using the XML format of the table mappings file.
DatasetType
Specifies the source dataset type. Possible values: Table, SQLFile, SQLText. If this attribute is omitted, other source attributes are used to identify the dataset type.
DatasetTitle
Specifies the source dataset title. It is sometimes used in GUI as a caption of the corresponding data window.
TableName
Specifies a source table name.
SQLFile
Specifies a path to file with text of the source SQL query.
SQLText
Specifies the text of a source SQL query.
TableName
For Database target format, it specifies a table name to export data to. For SQL target format, it specifies a table name to be used in generated SQL commands.
Target formats: Database, SQL
FileName
File name to export data to.
Target formats: All except Database
TableDescription
Description for target table. Currently, it can be applied to Oracle, SQL Server, PostgreSQL, and MySQL databases. For Database target format, the description is applied only to table, which is created during the export operation. For SQL target format, the description is applied only with Add DDL option.
Target formats: Database, SQL
SQLStatementType
Type of SQL command (i.e. INSERT, UPDATE, DELETE etc.) to be applied for the current table. This attribute overrides the corresponding option common for all tables.
Target formats: SQL
ExportMode
Export mode to be applied to the current table or file. This attribute overrides the corresponding option common for all tables (files).
Target formats: All
RecordLogFileName
File name to write the record log output to. Currently, this attribute must be filled manually in the table mappings file. Use it when you need a separate record log instead of specifying a common record log for all tables.
Target formats: All
BadRecordLogFileName
File name to write the bad record log output to. Currently, this attribute must be filled manually in the table mappings file. Use it when you need a separate record log instead of specifying a common record log for all tables.
Target formats: All
HtmlDocTitle
The text to be placed into HTML Title tag.
Target formats: HTML
HtmlTableId
The text to be placed into id attribute of HTML Table tag. Must be valid HTML id attribute, unique per target file. If omitted or empty, the tag will not have the id attribute.
Target formats: HTML
TableTitle
The text to be placed above the table data in the target document.
Target formats: HTML, RTF, PDF, Excel (XLSX), Excel (XML based), Excel (XLS), Excel (OLE), Word (OLE)
HtmlStepNo
Current export step.
Target formats: HTML
SheetName
The name of target Excel sheet to place the source data in. Must be valid Excel sheet name, unique per target file. If omitted or empty, the application names sheets as Sheet1, Sheet2 etc. Note: Sometimes, when the number of rows per sheet exceeds the value specified in options, additional sheets will be created. These additional sheets are named based on SheetName plus sequential suffix _p2, _p3 etc.
Target formats: Excel (XLSX)
RangeName
The name of target Excel cell range with exported data (including column headers). Named ranges are seen as tables when you open the target file in applications which work with databases (including Database Tour). Must be valid Excel range name, unique per target file. If omitted or empty, the corresponding range will not have a name. Note: Sometimes, when the number of rows per sheet exceeds the value specified in options, additional sheets and additional ranges will be created. These additional ranges are named based on RangeName plus sequential suffix _part2, _part3 etc.
Target formats: Excel (XLSX)