Skip to main content Skip to complementary content

Updating data in the Snowflake table

Procedure

  1. Double-click the second tFixedFlowInput component to open its Basic settings view.
  2. Click the [...] button next to Edit schema and in the pop-up dialog box, define the schema by adding four columns: id of Integer type as the primary key, name and role of String type, and salary of Double type.

    This schema is the same as the schema of the first tFixedFlowInput component, you can just copy and paste it.

  3. Click OK to save the schema changes. In the pop-up dialog box, click Yes to propagate the schema to the next component.
  4. Select Use Inline Content in the Mode area. Then in the Content field displayed, enter the following employee data to update the existing data.
    111;Mark Smith;tester;15000.00
    222;Thomas Johnson;tester;18000.00
    333;Teddy Brown;writer;17000.00
    444;John Clinton;developer;19000.00
  5. Double-click the second tJDBCOutput component to open its Basic settings view.
  6. Select the Use an existing connection check box and from the Component List drop-down list displayed, select the connection component to reuse the connection created by it, tJDBCConnection_1 in this example.
  7. In the Table field, enter the name of the table, in which the data will be updated, employee in this example.
  8. Select Insert or update from the Action on data drop-down list.

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!