Add DataColumn
Adds a new column to the table. The column is defined by an existing DataColumn object or by giving a name and a data type. The input table is not modified; the result is written to the Result output.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ❌ No | Column to add. Either |
|
| ❌ No | Name of the column to add. Either |
|
| ❌ No | Data type of the column added with |
|
| ✅ Yes | Table to add the column to. If empty (null), a new table is created. |
|
| ❌ No | Default value of the column. If set, it is also written to all existing rows. If the value does not match the column's data type, the activity throws an error. |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Table with the column added. |