Database Tour Documentation Contents Index

Command Line Usage: Export / Import Data

Top Previous Next

This topic describes parameters of Database Tour command line, specific to exporting or importing data. This type of command line can be used only in Database Tour Pro.

More detailed information about specific export options can be found here.

Common rules for writing command lines are described here.

Before you start...

Advanced users can build the needed command line manually using the specification below. But if you are a beginner or just need to create a command line for simple export operation, you can save your time using Database Tour command line builder. The command line builder interface is very similar to Export dialog and uses the same export options, but it produces a command line string instead of running export operation. To generate a command line, choose 'Tools | Generate Command Line | Export / Import data...' menu. In 'Generate Command Line' window, specify needed export options and click OK. A new window will appear with the command line generated. Copy it, correct it if it is needed, and use in Database Tour calls from your own programs, .bat files etc.

Please note that the command line builder cannot generate any type of command line. It produces only generic command lines which is enough for the most of needs and good point to start from. Generated command line can be easily changed manually for more complex tasks. For example, you need just replace /export switch with /copy switch when you want to copy data to clipboard instead of export them to file or database; replace the table name with asterisk if you want to export all tables from a specified database, and so on. Also, command line builder cannot generate export/import related command lines which use SQL features like specifying a file with SQL text, providing list of SQL parameters or macros etc.; you can easily add these parameters manually.

Usage (specification):

Long (classic) format:
    dbtour.exe [/silent] </export | /copy> [/UseParadoxPasswords=ParadoxPasswords] [/ExportMode=CREATE_OR_REPLACE+INSERT|CREATE_OR_REPLACE|APPEND|EMPTY+INSERT] [/ExportType=TEXT|HTML|XML|RTF|PDF|EXCEL|EXCELXLSX|EXCELXML|EXCELOLE|WORDOLE|SYLK|DBF|SQL|DATABASE] [/filter=FilterCondition] [/FilterSensitive] [/FilterPartial] [/sort=Field1,Field2,...] [/CloseWhenDone] [/CloseOnError] [/LogFile=LogFileName] [/AppendLog] [/SuppressOverwriteOrDeletePrompt] [/minimize] [/OpenTarget] [/[Include]Images] [/[Include]Memo] [/[Include]ColNames] [/FixedFieldLength] [/separator=;|,| |#9|...] [/DelimitAllFields] [/CreateIndexFile] [/TemplateFile=TemplateFileName] [/ExportStepNo=1|2|...] [/DocTitle=DocumentTitle] [/AlternateRowColor=Color] [/TargetImageFormat=PNG|JPEG|GIF|Bitmap|Metafile|Icon|<SOURCE>] [/AddDDL] [/sqlSeparator=;|^|sqlplus|#10|...] [/TargetDBType=Access|Oracle|SQLServer|LocalSQL|Interbase|Firebird|...] [/sqlTableName=TableName] [/sqlStatementType=INSERT|MERGE|UPDATE|DELETE] [/KeyFields=KeyFields] [/textSchema=standard|ado|bde|expr] [/TextExpression=Expression] [/xmlUseCDataAttr] [/xmlSchema=ado|standard|simple|xsl] [/encoding=Windows-1252|...] [/dbfVersion=3|4|5] [/LimitRecordCount=100|...] [/RecordsPerLine=1|2|...] [/RowsPerSheet=65536|...] [/FloatFormat=0.0000|...] [/DateTimeFormat=mm/dd/yyyy|...] [/LineTerminator=WINDOWS|UNIX] [/CommitInterval=100|...] [/MemorySaving] [/UseSQLParameters] [/FieldMappingsFile=FieldMappingsFileName] [/FieldMappings=Source1=Target1;Source2=Target2;...] [/columns=column1;column2;...] [/TableMappingsFile=TableMappingsFileName] [/SQLStatementSeparator=SQLStatementSeparator] [/SrcDBInterface=ado|bde|interbase] [/SrcDBKind=DBKind] [/SrcDBDriver=DBDriver] [/SrcDBUserName=UserName] [/SrcDBPassword=Password] [/SrcTableName=TableName] [/SrcSQLFile=SQLFileName] [/SQLParamNames=ParamName1%#%ParamName2%#%...] [/SQLParamValues=ParamValue1%#%ParamValue2%#%...] [/SQLParamTypes=ParamType1%#%ParamType2%#%...] [/SQLMacroNames=MacroName1%#%MacroName2%#%...] [/SQLMacroValues=MacroValue1%#%MacroValue2%#%...] </SrcDB=SourceFileOrDBName> [/TrgDBInterface=ado|bde|interbase] [/TrgDBKind=DBKind] [/TrgDBDriver=DBDriver] [/TrgDBUserName=UserName] [/TrgDBPassword=Password] [/TrgTableName=TableName] [/TrgDB=TargetFileOrDBName]
     
Short format (parameters are excluded from the command line and included in the action file):
    dbtour.exe [/silent] [/ParamsFile=ActionFileName]

Examples:

1. Copy one table from .mdb file to clipboard
dbtour.exe /copy "/SrcDB=c:\my db\stores.mdb" "/SrcTableName=price"

2. Export .dbf -> .htm
dbtour.exe /export /encoding=Windows-1252 "/SrcDB=c:\my db\customer.dbf" "/TrgDB=c:\my db\customer.htm"

3. Export .dbf -> .rtf
dbtour.exe /export /IncludeMemo /exporttype=RTF "/sort=payername,paymentsum DESC" /SrcDBInterface=ado "/SrcDB=c:\my db\dbdesrc.dbf" "/TrgDB=c:\my db\dbdescr.rtf"

4. Export .db -> .htm
dbtour.exe /export /ExportType=HTML "/sort=serviceid, 4, 5" /columns=SERVICENAME;DESCR;PRICE "/SrcDB=c:\my db\advert.db" "/TrgDB=c:\my db\services.htm"

5. Export all .dbf files from directory to .txt files
dbtour.exe /export /ExportType=TEXT /separator=#9 "/filter=BillSum > 200 and Name <> 'Parker'" "/SrcDB=c:\data\" "/SrcTableName=<MASK>*.dbf" "/TrgDB=c:\targets\" "/TrgTableName=<MASK>*.txt"

6. Export one table from .mdb file to .htm
dbtour.exe /export /SrcDBPassword=leo12 "/SrcDB=c:\my db\stores.mdb" "/SrcTableName=price" "/TrgDB=c:\my db\price.htm"

7. Export all tables from .mdb file to .htm files in silent mode
dbtour.exe /silent /export /SrcDBPassword=leo12 "/SrcDB=c:\my db\stores.mdb" "/SrcTableName=*" "/TrgDB=c:\my db\" "/TrgTableName=*.htm"

8. Export .db -> .dbf V
dbtour.exe /export /ExportType=DBF /dbfVersion=5 "/encoding=DBASE DEU CP437" "/SrcDB=c:\my db\types.db" "/TrgDB=c:\my db\types.dbf"

9. Export a table from Oracle database to Access database in silent mode with writing results to a log file. The target file must exist.
dbtour.exe /silent /export /ExportType=DATABASE /ExportMode=REPLACE+INSERT /IncludeMemo /CommitInterval=200 /SrcDBInterface=ado /SrcDBKind=CONSTR /SrcDBDriver=ORACLE "/SrcDB=Provider=OraOLEDB.Oracle.1;Data Source=dwh;" /SrcDBUserName=stage /SrcDBPassword=stage_password /SrcTableName=USR_REQUEST /TrgDBInterface=ado /TrgDBKind=FILE "/TrgDBDriver=Microsoft Access" /TrgDB=C:\DWH\Requests.mdb /TrgTableName=USR_REQUEST /LogFile=C:\DWH\Log\export_req.log /AppendLog

10. The same as the previous one but exporting SQL query result instead of a table (differences with previous one are highlighted by bold font)
dbtour.exe /silent /export /ExportType=DATABASE /ExportMode=REPLACE+INSERT /IncludeMemo /CommitInterval=200 /SrcDBInterface=ado /SrcDBKind=CONSTR /SrcDBDriver=ORACLE "/SrcDB=Provider=OraOLEDB.Oracle.1;Data Source=dwh;" /SrcDBUserName=stage /SrcDBPassword=stage_password /SrcSQLFile=C:\DWH\Payments.sql /TrgDBInterface=ado /TrgDBKind=FILE "/TrgDBDriver=Microsoft Access" /TrgDB=C:\DWH\Requests.mdb /TrgTableName=PAYMENTS /LogFile=C:\DWH\Log\export_req.log /AppendLog

11. Export all tables from ODBC data source to .mdb file. The target file must exist.
dbtour.exe /export /ExportType=DATABASE /IncludeMemo /SrcDBInterface=ADO /SrcDBPassword=m980 "/SrcDB=<DSN>BOOKS" "/SrcTableName=<MASK>*" /TrgDBInterface=ADO /TrgDBKind=FILE /TrgDBDriver=Access "/TrgTableName=<MASK>*" /TrgDB=c:\MyBooks.mdb

12. The same as the previous one but using an action file
dbtour.exe "/ParamsFile=c:\DBTourStartParameters.txt"

The contents of c:\DBTourStartParameters.txt file should be like the following:

 

;action
/export

;options

/IncludeMemo

;source definition
/exporttype=DATABASE
/SrcDBInterface=ADO
/SrcDBPassword=m980
/SrcDBKind=DSN
/SrcDB=BOOKS
/SrcTableName=<MASK>*

;target definition
/TrgDBInterface=ADO
/TrgDBKind=FILE
/TrgDBDriver=Access
/TrgDB=c:\MyBooks.mdb
/TrgTableName=<MASK>*

Description of the options:

Option Description
/export Tells the program to export data to file or database.
/copy Tells the program to copy data to clipboard.
/silent This switch will run the program in "silent" mode, without any windows (except purchase reminder when the program is used without registration after the test period). When using /ParamsFile option, /silent switch must be outside parameters (action) file. The Database Tour returns an exit code of 0 if the working was successful, 1 if the command line parameters were invalid, or 2 if the working failed. Attention! There are no overwrite or other prompts in this mode.
/ParamsFile Specifies the name of the action file, which contains command line parameters, one parameter per line. Lines with a semicolon at the beginning are ignored as comments. Blank lines are allowed. When using this option, there should not be other command line parameters in the command line except /silent switch. If the file name includes spaces, entire parameter must be enclosed in quotes. See example 12.
/UseParadoxPasswords Semicolon separated list of passwords for Paradox tables (only for BDE connections).

/SrcDB

Specifies name of source database. This can be a file name, folder name, ODBC DSN, BDE alias name, or connection string. If the name includes spaces, entire parameter must be enclosed in quotes. If the name is an ADO connection string with quotes inside, it is recommended to use the short format of command line (using the parameters file).
/SrcDBInterface Specifies database interface (database engine) used to connect the source database. Possible values: ADO, BDE, INTERBASE. If not specified, the program will use ADO.
/SrcDBKind

Specifies source database kind. Possible values: FOLDER, FILE, DSN, CONSTR; the last one must be used only for ADO interface (see /SrcDBInterface description). If not specified, the program will try to detect it automatically.

Instead of using this parameter, it is possible to use a prefix specifying the database kind (file, folder, ODBC DSN, connection string) in the /SrcDB parameter. The prefix must be enclosed in arrow brackets <>. Possible values: <FILE>, <FOLDER>, <DSN>, <CONSTR>. It is recommended to enclose the entire parameter in quotes in such cases. See example 11.

/SrcDBDriver Specifies source database driver. Examples of possible values: ACCESS, DBASE, INTERBASE, FIREBIRD, ORACLE, SQL SERVER, etc. If not specified, the program will try to detect it automatically. If the driver name includes spaces, entire parameter must be enclosed in quotes.
/SrcDBUserName Specifies user name for source database. If the user name includes spaces, entire parameter must be enclosed in quotes.
/SrcDBPassword Specifies password for source database. If the password includes spaces, entire parameter must be enclosed in quotes.
/SrcTableName

Specifies a source table name to open. If this parameter is omitted and the source database is file, the program will try to extract it from /SrcDB. If the name includes spaces, entire parameter must be enclosed in quotes. This parameter cannot be used together with /SrcSQLFile parameter.

It can be a file (table) mask or file (table) list instead of a file (table) name to force the program to open and export group of files (tables) consequently. In this case, /TrgTableName must be empty or contain the corresponding mask or list, with one exception: if target format is DATABASE and export mode is APPEND, /TrgTableName can contain only one table (in this case all source table should have compatible field structure). This extended syntax is applicable only if /export option is used. A <MASK> prefix should be used for masks and a <LIST> prefix should be used for lists (entire parameter must be enclosed in quotes in this case). Lists must be semicolon separated. See examples above.

/SrcSQLFile Specifies a file name with SQL query to open. The file can also be a multi-statement SQL script; in this case the program will execute all statements consequently; the query, which result should be exported, must be the last SQL statement in the file; different statements must be separated by /SQLStatementSeparator. If the name includes spaces, entire parameter must be enclosed in quotes. This parameter cannot be used together with /SrcTableName parameter.
/SQLStatementSeparator Specifies separator of SQL statements (SQL terminator) if /SrcSQLFile is a multi-statement SQL script. Can be any character or character code, followed after # symbol. There is also a predefined separator, called sqlplus, which is usually used in Oracle SQL Plus utility and other Oracle specific tools and utilities; this is a slash (/) on a separate line between two statements. Default value for SQL statement separator is semicolon (;).
/SQLParamNames Can be used in cases, when /SrcSQLFile contains a parameterized SQL query (or queries). SQL text of parameterized query contains parameter(s) for dynamic replacement; each parameter starts with colon, for example, :ITEMID, :PAYDATE and so on. SQL parameters are processed on database engine or database (for server databases) level. Use this switch to define a list of parameter names, which should be automatically replaced before the query execution. This list must contain parameter names (the colon must be omitted here) separated by %#% character combination. If the switch contains spaces, it should be enclosed in quotes. This switch must be used in conjunction with /SQLParamValues and /SQLParamTypes switches. See examples above.
/SQLParamValues List of SQL parameter values separated by %#% character combination. The number of items in the list and their positions must match the ones from /SQLParamNames switch. To pass null value, text of the value should be NULL (in upper case). If the switch contains spaces, it should be enclosed in quotes.
/SQLParamTypes List of SQL parameter types separated by %#% character combination. The number of items in the list and their positions must match the ones from /SQLParamNames switch. Available types: Boolean, Currency, Date, DateTime, Float, Integer, SmallInt, String, Time, Word. The switch should not contain spaces.
/SQLMacroNames

Can be used in cases, when /SrcSQLFile contains an SQL query (or queries) with macros. SQL text of such queries contains macro(s) for dynamic replacement; each macro starts with << and ends with >>, for example, <<ITEMID>>, <<PAYDATE>> and so on; unlike parameter, macro does not have a type and is always inserted as text. Use this switch to define a list of macro names, which should be automatically replaced before the query execution. This list must contain macro names (separators << and >> must be omitted here; macro name should contain only alphanumeric characters) separated by %#% character combination. The macros are processed before processing of parameters; therefore it is possible to use macros inside parameters. If the switch contains spaces, it should be enclosed in quotes. This switch must be used in conjunction with /SQLMacroValues switch. See examples above.

/SQLMacroValues List of SQL macro values separated by %#% character combination. The number of items in the list and their positions must match the ones from /SQLMacroNames switch. If the switch contains spaces, it should be enclosed in quotes.
/filter Filter condition, which must be applied to database after its opening. It should not be used with /SrcSQLFile parameter; to filter SQL query results, use WHERE section of SQL query instead. Filter condition that includes spaces, greater-than sign, or less-than sign, must be enclosed in quotes. See example 5.
/FilterSensitive Specifies that the literal strings in the filter condition for source database are compared to string-valued fields case-sensitively. Ignored, if /filter option is not specified. This option is meaningful only for BDE connections.
/FilterPartial Specifies that the strings in filter condition for source database that end in an asterisk signify a partial string match with the asterisk matching any number of characters. Ignored, if /filter option is not specified. This option is meaningful only for BDE connections.
/sort List of fields (or relative positions of the fields), by which the source database should be sorted. It should not be used with /SrcSQLFile parameter; to sort SQL query results, use ORDER BY section of SQL query instead. Field names (positions) must be separated by commas. If the list contains spaces, entire parameter must be enclosed in quotes (see example 3). ASC and DESC modifiers can be used. For example, using the switch from example 3 will cause sorting by two fields: by payername (in ascending order) first and then by paymentsum (in descending order).

The following options meaningful only if /export option is used:
/TrgDB Specifies name of target file or database. This can be a file name, folder name, ODBC DSN, BDE alias name, or connection string. If the name includes spaces, entire parameter must be enclosed in quotes. If the name is an ADO connection string with quotes inside, it is recommended to use the short format of command line (using the action file).
/TrgDBInterface Specifies database interface (database engine) used to connect the target database for DATABASE export format. Possible values: ADO, BDE, INTERBASE. If not specified, the program will use ADO.
/TrgDBKind Specifies target database kind for DATABASE export format. Possible values: FOLDER, FILE, DSN, CONSTR; the last one must be used only for ADO interface (see /TrgDBInterface description). If not specified, the program will try to detect it automatically.

Instead of using this parameter, it is possible to use a prefix specifying the database kind (file, folder, ODBC DSN, connection string) in the /TrgDB parameter. The prefix must be enclosed in arrow brackets <>. Possible values: <FILE>, <FOLDER>, <DSN>, <CONSTR>. It is recommended to enclose the entire parameter in quotes in such cases. See example 11.

/TrgDBDriver Specifies target database driver for DATABASE export format. Examples of possible values: ACCESS, DBASE, INTERBASE, FIREBIRD, ORACLE, SQL SERVER, etc. If not specified, the program will try to detect it automatically. If the driver name includes spaces, entire parameter must be enclosed in quotes.
/TrgDBUserName Specifies user name to connect target database for DATABASE export format. If the user name includes spaces, entire parameter must be enclosed in quotes.
/TrgDBPassword Specifies password to connect target database for DATABASE export format. If the password includes spaces, entire parameter must be enclosed in quotes.
/TrgTableName

Specifies target table name. If this parameter is omitted and the target is file, the program will try to extract it from /TrgDB. If the name includes spaces, entire parameter must be enclosed in quotes.

It can be a file (table) mask or file (table) list instead of a file (table) name for multi-table exporting. In this case, /SrcTableName must contain the corresponding mask or list. A <MASK> prefix should be used for masks and a <LIST> prefix should be used for lists (entire parameter must be enclosed in quotes in this case). Lists must be semicolon separated. See examples above.

/ExportMode

Specifies export mode. Possible values:

CREATE+INSERT Target is created and filled with incoming rows; if target already exists, export fails.
REPLACE+INSERT Target is created and filled with incoming rows; if target already exists, it is overwritten.
CREATE_OR_REPLACE Blank target (using appropriate structure) is created; if target already exists, it is overwritten.
APPEND

Target is appended with incoming rows; if target does not exists, it is created.

Notes
- This mode can be used only when target format is TEXT, HTML, XML (where XML schema is 'standard' or 'simple'), SQL, or DATABASE.
- The field structure of the source must be compatible with existing target structure.

EMPTY+INSERT

Target is emptied before inserting incoming rows; if target does not exists, it is created.

Notes
- This mode can be used only when target format is DATABASE.
- The field structure of the source must be compatible with existing target structure.

UPDATE

The records in the target that match incoming records, are replaced with incoming records.
/KeyFields are used to match records.

Notes
- This mode can be used only when target format is DATABASE.
- The target must already exist and should have an index defined to match the records.
- The field structure of the source must be compatible with existing target structure.
- The fields in target, used to match the records (key fields of target), are not updated.
- Use this mode carefully when the key fields can contain NULL values.
- Use this mode carefully for multi-table exporting.
- This mode may work differently for different target database types/interfaces, therefore it is recommended to test it carefully (consider to use /MemorySaving option) before using on production systems.

APPEND+UPDATE

The records in the target that match incoming records, are replaced with incoming records. Unmatched incoming records are appended to the target.
/KeyFields are used to match records.

Notes
- This mode can be used only when target format is DATABASE.
- The target must already exist and should have an index defined to match the records.
- The field structure of the source must be compatible with existing target structure.
- Use this mode carefully when the key fields (either source or target) can contain NULL values.
- Use this mode carefully for multi-table exporting.
- This mode may work differently for different target database types/interfaces, therefore it is recommended to test it carefully (consider to use /MemorySaving option) before using on production systems.

DELETE

The records in the target that match incoming records, are deleted.
/KeyFields are used to match records.

Notes
- This mode can be used only when target format is DATABASE.
- The target must already exist and should have an index defined to match the records.
- Use this mode carefully when the key fields can contain NULL values.
- Use this mode carefully for multi-table exporting.
- This mode may work differently for different target database types/interfaces, therefore it is recommended to test it carefully (consider to use /MemorySaving option) before using on production systems.

If not specified, CREATE+INSERT is used.

/dbfVersion Specifies version (level) for DBF target format. Possible values: 3, 4, 5. If not specified or erroneous, 3 is used.
/OpenTarget Forces the program to open target file or table after successful export execution. In multi-table exporting, only the last created target file or table is opened.
/CommitInterval Specifies commit interval (commit frequency) in records for DATABASE and SQL export formats. If not specified or erroneous, 0 is used.
/MemorySaving Enables memory saving mode for DATABASE export format. The memory saving mode may be useful when the source or target tables have very large number of records, especially if target interface is ADO. In addition to memory saving, the improvements in performance may be achieved. Notes: This mode may work differently for different target database types/interfaces, therefore it is recommended to test it carefully before using on production systems.
/UseSQLParameters Enables using SQL parameters in memory saving mode for DATABASE export format. Using parameterized SQL queries can significantly speed up the process and allows to export BLOB data for some database types/interfaces.
/SuppressOverwriteOrDeletePrompt Suppresses file/table overwrite prompt for REPLACE+INSERT and CREATE_OR_REPLACE export mode or table emptying prompt for EMPTY+INSERT export mode. This option is ignored in "silent" mode, where such prompts are always suppressed.

The following options meaningful only if /export or /copy options are used:
/ExportType

Specifies target format. Possible values:

TEXT export to text file (including CSV)
HTML export to HTML document
XML export to XML document
RTF export to RTF file
PDF export to PDF file (binary file)
EXCEL export to Excel workbook (binary file)
EXCELXLSX export to Excel workbook (XLSX)
EXCELXML export to Excel workbook (XML-based)
EXCELOLE export to Excel workbook using OLE (binary file)
WORDOLE export to Word document using OLE (binary file)
SYLK export to SYLK file
DBF export to dBase table (binary file)
SQL export to SQL Script file
DATABASE export to relational database of any type

If this parameter is omitted or erroneous, the program tries to define it from /TrgDB. TEXT format is used by default. DBF, EXCEL, PDF, and DATABASE target formats should not be used with /copy option due to their binary nature.

/CloseWhenDone Forces the program to close itself after successful export execution. This option is ignored in "silent" mode where the program is closed automatically anyway.
/CloseOnError Forces the program to close itself when error occurs during export execution. This option is ignored in "silent" mode where the program is closed automatically anyway.
/minimize Program starts in minimized mode. It is restored to normal mode on error or after ending execution (if /CloseWhenDone switch is not used). This option is ignored in "silent" mode where the program runs without any windows.
/LogFile Specifies the name of the file to write operation log. If the name includes spaces, entire parameter must be enclosed in quotes.
/AppendLog Specifies that log of the operations should be written from the end of the log file with saving the previous file content. If this switch is omitted, existing log file will be fully overwritten.
/[include]images Specifies either to include graphic data when exporting. Meaningful only for RTF, PDF, or HTML target formats. Using this option may slow down the export process.
/[include]memo Specifies either to include contents of MEMO (large text) fields when exporting. Without this switch, a constant describing the field type will be used instead of the field contents. Ignored for DBF and DATABASE target formats.
/[include]colnames Specifies either to include field (column) names when exporting. Ignored for DBF and DATABASE target formats.
/FixedFieldLength Specifies that fields in output file have fixed length (without special separators) for TEXT target format. In fixed-length files, field data, which shorter than field width, is completed by spaces. Cannot be used together with /separator option. This option is ignored if /textSchema is expr.
/separator Specifies the field separator for TEXT target format. Сan be any character or character code, followed after # symbol. For example, if you wish to specify a TAB character as the field separator, then /separator=#9 option must be used. If not specified, TAB character is used. This options cannot be used together with /FixedFieldLength switch. This option is ignored if /textSchema is expr.
/TextExpression Specifies the custom expression for TEXT target format when /textSchema is expr.
/textSchema

Specifies the schema for TEXT target format. Possible values:

standard or 0
ado or 1
bde or 2
expr or 3

If not specified, standard (0) is used.

/xmlSchema

Specifies the schema for XML target format. Possible values:

ado or 0 (only for databases, opened by ADO)
standard or 1
simple or 2
xsl or 3

If not specified, standard (1) is used.

/xmlUseCDataAttr Forces the program to use CDATA attribute in text data for XML target format (for simple schema only).
/DelimitAllFields Forces the program to delimit all fields by quotes in target for TEXT target format. If this parameter is omitted, only text fields will be quoted.
/CreateIndexFile Specifies either to create a separate index file for multi-table export for HTML target format. If this parameter is omitted, the index file will not be created.
/TemplateFile Specifies a template file for HTML target format. The export procedure will enrich the template file with data from the current dataset and finally save the enriched template as a target file. Note: when using template, all export option will be ignored except template options, document title, and row count limit.
/ExportStepNo Specifies the current export step for HTML target format. When using template, export can be performed in several steps, and this option lets the program know which dynamic expressions from the template must be calculated during this step.
/DocTitle Specifies document title for HTML target format. If it includes spaces, entire parameter must be enclosed in quotes.
/AlternateRowColor Specifies alternate row color (background color of every second row) for HTML, PDF, EXCELXLSX, EXCELOLE, WORDOLE, and RTF target formats. The color must be specified in hexadecimal format, which is made up of sharp symbol (#), followed by three hex numbers, rr, gg, bb, that give values for red, green and blue, respectively; for example, #FF0000 represents pure red.
/TargetImageFormat Specifies format of target images for HTML target format. Possible values: PNG, JPEG, GIF, Bitmap, Metafile, Icon, <SOURCE>; in the last case, the target images will be created in the format which is determined from the source, i.e. no image format conversion is done.
/sqlSeparator Specifies SQL command separator for SQL target format. Can be any character or character code, followed after # symbol. There is also a predefined separator, called sqlplus, which is usually used in Oracle SQL Plus utility and other Oracle specific tools and utilities; this is a slash (/) on a separate line between two statements. Default value for sql separator is semicolon (;).
/AddDDL Forces the program to add DDL statement (CREATE TABLE...) into the output script before INSERT or MERGE statements for SQL target format.
/TargetDBType Specifies target database type for SQL target format (for example, Access, DB2, Oracle etc.). This option lets the program to correctly encode some specific data types in output file (for example, boolean, date, time, and timestamp). If not specified, YYYY-MM-DD hh:mm:ss format (ANSI SQL standard) is used for dates and values are enclosed in single quotation marks; for boolean values, 'T' or 'F' is used.
/sqlTableName Specifies table name for SQL target format (used as table name in SQL statements). Ignored when exporting group of files / tables (in this case the table name of the source is used). If the switch includes spaces, it must be enclosed in quotes.
/sqlStatementType Specifies SQL statement type for SQL target format. Possible values: INSERT, MERGE, UPDATE, or DELETE. If not specified or erroneous, INSERT is used.
/KeyFields

Specifies key fields (matching fields) for SQL and DATABASE target formats. This must be a name of a source field or a comma-separated list of several source field names.

For SQL target format, key fields must be specified when /sqlStatementType is MERGE, UPDATE, or DELETE. They are used in the ON (for MERGE) or WHERE (for UPDATE and DELETE) clause of SQL statements.

For DATABASE target format, key fields must be specified when /ExportMode is UPDATE, APPEND+UPDATE, or DELETE.

When field mappings are explicitly specified (in /FieldMappingsFile or /FieldMappings parameters), the key fields must be present there and map to the corresponding fields in target.

/encoding Encoding for XML, HTML, SQL, EXCELXML, or DBF target format. Possible values for XML, EXCELXML, SQL and HTML: ASCII, UTF-8 and so on. Possible values for DBF: DBASE ENU CP437, DBASE DEU CP437, 'ASCII' ANSI and so on (see full list in GUI). If the encoding includes spaces, entire parameter must be enclosed in quotes.
/LimitRecordCount Specifies a maximum number of records to be exported. If this option is not specified or it is less then 1, all records will be exported. If you want just create a file (table) without data exporting, use the corresponding export mode instead.
/RecordsPerLine Specifies the number of source records, which must be placed per one line in target. If not specified or erroneous, 1 is used. This option is ignored for XML, SYLK, DBF, PDF, DATABASE target formats.
/RowsPerSheet Specifies the number rows in one sheet for EXCELXML and EXCELXLSX target formats. If not specified or erroneous, 800000 is used. When exporting, if the number of outputted rows reached this value, the new sheet is automatically created.
/FloatFormat Specifies format for numbers with floating points for EXCELXML target format.
/DateTimeFormat Specifies format for DateTime values for EXCELXML target format.
/LineTerminator Specifies style of line terminator in target file. Ignored for binary target formats (EXCEL, PDF, DBF, DATABASE). Possible values: WINDOWS or UNIX.
/FieldMappingsFile Specifies the name of the file, which contains source-to-target field mappings. The content of the file must conform to the rules for field mappings files. If this option is omitted, /FieldMappings option is used. This option is ignored for multi-table export (i.e. when you specify to export table list instead of one table). If the file name includes spaces, entire parameter must be enclosed in quotes. This option is ignored if target format is TEXT and /textSchema is expr.
/FieldMappings Specifies source-to-target field mappings. This must be a semicolon-separated list of the mappings. Each mapping must hold a pair of source and target field names separated by equal sign, for example: PaymentId=PAYMENT_ID. Field names should not contain equals and semicolons. If this option is omitted, /columns option is used to determine the source columns to export, and target field names are determined automatically according to rules of target database (when possible). This option is ignored for multi-table export (i.e. when you specify to export table list instead of one table). If the field names include spaces, entire parameter must be enclosed in quotes. This option is ignored if target format is TEXT and /textSchema is expr.
/columns Specifies columns (fields) to export. This must be a list of field names or their numeric indexes, separated by semicolons. If not specified, and /FieldMappingsFile and /FieldMappings are omitted too, all source columns are exported, and target field names are determined automatically according to rules of target database (when possible). This option is ignored for multi-table export (i.e. when you specify to export table list instead of one table). If the field names include spaces, entire parameter must be enclosed in quotes. This option is ignored if target format is TEXT and /textSchema is expr.
/TableMappingsFile Specifies the name of the file, which contains source-to-target table mappings for multi-table export. The content of the file must conform to the rules for table mappings files. If this option is omitted, source and target masks or lists must be specified. If the file name includes spaces, entire parameter must be enclosed in quotes.