tOleDbInput
Executes a DB query with a strictly defined order which must correspond to the
schema definition and passes on the field list to the next component via a
Main row link.
This component reads a database and extracts fields based on a query. It offers the
flexibility benefit of the DB query and covers all possible SQL
queries.
tOleDbInput Standard properties
These properties are used to configure tOleDbInput running in the Standard Job framework.
The Standard
tOleDbInput component belongs to the Databases family.
The component in this framework is generally available.
Basic settings
|
Connection URL |
Enter the connection string used to open the database. For details, please see http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbconnection.connectionstring.aspx. |
|
Schema and Edit |
A schema is a row description. It defines the number of fields (columns) to |
|
|
Built-In: You create and store the |
|
|
Repository: You have already created |
|
Click Edit schema to make changes to the schema.
|
|
|
Table Name |
Enter the name of the table to be processed. |
|
Query Type |
Select either Built-in or Repository query type from the drop-down |
|
|
Built-in: Fill in manually the query statement or |
|
|
Repository: Select the relevant query stored in the |
|
Guess Query |
Click the button to generate the query which corresponds to the defined table schema in |
|
Guess schema |
Click the button to retrieve the schema from the table. |
|
Query |
Specify the database query paying particularly attention to properly sequence the |
Advanced settings
|
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace from all the |
|
Trim column |
Select the check box in Trim column to remove leading This field appears only when the Trim all |
|
tStatCatcher Statistics |
Select this check box to collect log data at the component |
Global Variables
|
Global Variables |
NB_LINE: the number of rows processed. This is an After
QUERY: the query statement being processed. This is a Flow
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
|
Usage rule |
This component is used as a start component in a Job and it always needs an output |
Related scenario
For similar scenarios, see tMysqlInput.