General

Table Output step

The table below describes the general options for the Table Output step:

Option

Description

Step name

Specifies the unique name of the Table Output step on the canvas. You can customize the name or leave it as the default.

Connection

Use the list to select the name of an existing database connection where you want your data to be written. Select the connection according to the relational database type you are modifying.

If you do not have an existing connection, click New or Wizard. If you need to modify an existing connection, click Edit.

Target Schema

Specify the name of your database schema.

Target table

Specify the name of the table where you want to write your data.

Commit size

Specify the size of the commit batch. The size is the number of INSERT statements to be performed before sending a COMMIT command to the database. Specifying a commit size may change the performance.Transactions are not supported on all database platforms.

Truncate table

Select to truncate the table before the first row is inserted into the table. If you will run the transformation on clusters or with multiple copies of this step, you must truncate the table before you start the transformation.

Ignore insert errors

Select to ignore all insert errors such as violated primary keys. A maximum of 20 warnings will be logged. This option is not available for batch inserts.

Specify database fields

Select to specify the fields in the Database fields tab. Otherwise all fields are inserted by default. This option must be selected to use the Get fields and the Enter field mapping tools in the Database fields tab.

SQL (button)

Click to open the Simple SQL Editor. The editor automatically generates the SQL needed to create the output table. You can modify the SQL statements if necessary, or click Execute to run the SQL and generate the table. The SQL Editor creates a target table with the name specified in theTarget table field.

![SQL editor](PDI_TableOutput_SQLEditor.png)

Last updated

Was this helpful?