Inserting, updating, and deleting data
By now, you know how to get data from a database. Now you will learn how to perform other basic operations. The next sections explain different ways to insert, update, and delete data from a database.
Inserting new data into a database table
The Table output
step is the main PDI step to insert new data into a database table.
The use of this step is simple. You have to create a stream of data with the data that you want to insert. At the end of the stream, you will add a Table output
step and configure it to perform the operation.
The following screenshot shows the dialog window for the step:
Table output dialog window
As you can see, there is the main area where you enter the name of the database connection and the name of the table where you want to insert data. These fields are mandatory.
Then you have the Database Field
tab where you specify the mapping between the dataset stream fields and the table fields. In order to fill this tab, you have to check...