Target Fields
The Target Fields tab displays the target fields from the selected target object.
You can edit the name of a field. You can also edit the metadata for a field. You might edit metadata to change information that is incorrectly inferred. When you edit metadata, you can change the name, native data type, native precision, and native scale. When you change the metadata for a field, you cannot easily revert your changes. Avoid making changes that can cause errors when you run the task.
For example, you can usually increase the native precision or native scale of a field without causing errors. But if you reduce the precision of a field, you might cause the truncation of data.
You can add a target field to the field list. To add a field, you need field details, including the field name, data type, precision, and scale.
To restore the original fields from the target object, use the Synchronize icon. Synchronization restores deleted target fields, adds fields new to the target, and retains added fields with corresponding target fields. Synchronization removes any added fields that do not have corresponding target fields. Synchronization does not revert any local changes to the field metadata.
Target Field Options
You can configure the following options on the Target Field tab of the Target transformation:
- Generate Fields From
- Field name display option. Display field names by label or technical field name.
- Sort Field Name By
- Field order display option. Display fields in native order, ascending order, or descending order.
- Add Field icon
- Adds a field from the selected object. Use to retrieve a field from the object that does not display in the list.
Opens a dialog box where you can enter the exact field name, data type, precision, and scale.
- Synchronize icon
- Synchronizes the list of fields with the object.
- Delete icon
- Deletes the field from the list, removing the field from the data flow.
- Edit Metadata
- Displays the native field metadata. You can edit the native field metadata.
You can display the native field name by label or technical field name.