Skip to main content Skip to complementary content

Retrieving the inserted employee data from MySQL

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

  1. Double-click the tMysqlInput component to open its Basic settings view.
  2. Select the Use an existing connection check box and from the Component List drop-down list displayed, select the connection component you have configured.
  3. 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.
  4. 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.
  5. 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.
  6. 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!