If a mapping includes a database target, you can select an existing target table or create the target table at run time. When you create a database target at run time,
automatically discovers the target object metadata for data type, precision, and scale, based on the data source.
If you need to edit target object metadata, you can edit it in the Source transformation.
You cannot link the target fields to the upstream transformation. If you want to reduce the number of unused fields in the target, configure field rules in the Target transformation or in the upstream transformations.
When you create a database target at run time, the
task creates the database table the first time the mapping runs based on the fields from the upstream transformation.
In subsequent runs, the
task replaces the data in the target table that was created in the initial run. Consequently, if you change the mapping after the initial run, in subsequent runs the target will not reflect changes to the number of target fields and its metadata. To see the changes, you can either delete the existing target before you run the mapping or change the name of the target.
If you create a relational target at run time, the target operation is always insert. You can choose to truncate the target.
In mappings created before the Spring 2020 September release,
converts Bigint data from a parameterized source to Int data in database targets created at runtime. To write Bigint data to the target without conversion, edit the mapping in the Mapping Designer and enable the option in the mapping advanced properties.
does not convert Bigint data in mappings created after the Spring 2020 September release.