2020.2

Table Of Contents
l
Connection String: Displays the connection string used to access the Data Source.
l
Browse button : Opens the Edit Database configuration dialog, which can replace
the existing database data source with a new one. This is the same as using the Replace
feature in the Data Samples window.
l
Table: Displays the tables and stored procedures available in the database. The selected
table is the one the data is extracted from. Clicking on any of the tables shows the first line
of the data in that table.
l
Custom SQL button : Click to open the SQL Query Designer (see "SQL Query
Designer" on page329) and type in a custom SQL query. If the database supports stored
procedures, including inner joins, grouping and sorting, you can use custom SQL to make
a selection from the database, using whatever language the database supports.
The query may contain variables and properties, so that the selection will be dynamically
adjusted each time the data mapping configuration is actually used in a Workflow
process; see "Using variables and properties in an SQL query" on page330.
l
Encoding: Defines what encoding is used to read the Data Source (US-ASCII, ISO-
8859-1, UTF-8, UTF-16, UTF-16BE or UTF-16LE ).
l
Sort on: Allows to select a field on which to sort the data, in ascending (A-Z) or
descending (Z-A) order. Note that sorting is always textual. Even if the sorting column has
numbers, it will be sorted as a text.
With a Custom Query, this option is not available.
l
Skip empty lines: Ignore any row that has no content, e.g. only nulls or empty strings.
Note that spaces are characters and thus considered content.
Text file Input Data settings
Because text files have many different shapes and sizes, there are many options for the input
data in these files.
l
Encoding: Defines what encoding is used to read the Data Source (US-ASCII, ISO-
8859-1, UTF-8, UTF-16, UTF-16BE or UTF-16LE ).
l Selection/Text is based on bytes:Check for text files that use double-bytes characters
(resolves width issues in some text files).
l
Add/Remove characters: Defines the number of characters to add to, or remove from,
the head of the data stream. The spin buttons can also increment or decrement the value.
Positive values add blank characters while negative values remove characters.
Page 319