DB Lookup Dynamic properties list

The following tables list the required and optional properties of the DB Lookup Dynamic component. Required properties are displayed in bold text.


Required properties

Property

Description

Key Attribute

Select a Key Attribute from the list of IN-port attributes. This attribute corresponds to the first column of the lookup table.

Value Attribute

Select the attribute to receive the value found by the lookup from the Value attribute list. The lookup value returned will overwrite any existing value.

Both Key Attribute and Value Attribute might refer to the same attribute of the record structure therefore allowing the overwriting of a key with its corresponding value.

Interface

Specify the method or driver you want to use to connect to the data source.

Host Name

Specify the data source. Options available on the Host Name list depend on the Interface you select.

If you use SQLite as a Host, type the path and file name to the SQLite database file (For example, c:\mySQLite.db). If a database with the name you specify does not exist, SQLite will create one.

Query

Click the Query icon to create a query that retrieves information from the data source. You can use the Query window to create a simple query, or click the Query Designer icon to open Query Designer.


Optional properties

Property

Description

User and Password

Specify an authorized database user and a password to protect the database against unauthorized access.

Default Value

Specify a Default Value to assign to the value attribute, in case the key value was not found in the lookup table.

Use Key Value

Select the option to assign the key value to the value attribute instead of the default, if the lookup fails

Lookup Empty/Null Keys

Select the option to perform the lookup even for empty or NULL key values. If not selected, the default method applies.

Lookup Key Value

Specify a value for the lookup key.

Database

Specify the database you want to use as the data source. Additionally, you must select an appropriate interface, and in some cases, specify an appropriate user ID and password.

Schema

Identifies the schema/owner you want to use as data source. The objects displayed will be restricted accordingly and new tables will be created in that schema.

Standardize Data Format

Select the option to convert incoming DATE and NUMBER information into a standard format that Sybase ETL can move between systems that support different formats.

Dates are converted into a format that includes the year, month, day, hour, minute, seconds, and fraction of a second: YYYY-MM-DD hh:mm:ss.s.

For example,

2005-12-01 16:40:59.123

Numbers are converted with a '.' as the decimal separator.

Database Options

Click the Database Options icon to set options that override performance defaults and control the behavior of some transactions.

See “Database connection settings”.