Configure the first tMysqlInput component and the first tLogRow component to retrieve the inserted employee data from the MySQL SCD
table and display it on the console.
Procedure
-
Double-click the tMysqlInput component
to open its Basic settings view.
- Select the Use an existing connection check box and from the Component List drop-down list displayed, select the connection component you have configured.
- In the Table Name field, enter the name of the table from which the employee data will be retrieved. In this example, it is employee_scd.
-
Open the schema editor of the tMysqlSCD component, select and copy all its schema columns, then
open the schema editor of the tMysqlInput
component, define its schema by pasting those schema columns you have copied from
the tMysqlSCD component.
When done, click OK to save the changes. In the pop-up dialog box, click Yes to propagate the schema to the next component.
- Click the Guess Query button to fill the Query field with the automatically generated SQL query that will extract data of all columns from the specified table.
- Double-click the first tLogRow component to open its Basic settings view. In the Mode area, select Table (print values in cells of a table) for better readability of the result displayed on the console.