August 15, 2023

Loading data into a database table – Docs for ESB 6.x

Loading data into a database table

  1. Double-click tFixedFlowInput to open its
    Basic settings view.

    components-tfileoutputldif_s1_tfixedflowinput.png

  2. Click the […] button next to Edit schema and in the pop-up window define the
    schema by adding four columns: dn,
    id_owners, registration, and make,
    all of String type.

    components-tfileoutputldif_s1_tfixedflowinput_schema.png

  3. Click OK to close the schema editor and
    accept the propagation prompted by the pop-up dialog box.
  4. In the Mode area, select Use Inline Content(delimited file), and then in
    the Content field displayed, enter the
    following input
    data:24;24;5382 KC 94;Volkswagen
    32;32;9591 0E 79;Honda
    35;35;3129 VH 61;Volkswagen

  5. Double-click tMysqlOutput to open its
    Basic settings view.

    components-tfileoutputldif_s1_tmysqloutput.png

  6. Fill in the Host, Port, Database, Username, and Password fields with your MySQL database connection
    details.
  7. In the Table field, enter the name of the
    table into which the data will be written. In this example, it is ldifdata.
  8. Select Drop table if exists and create
    from the Action on table drop-down
    list.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x