Select In-DB Tool
Use the Select In-DB tool to select, deselect, rename, and reorder fields in an In-DB workflow.
Use the tool to limit the number of fields in an In-Database data stream. In many cases, limiting the amount of data passing through a workflow can significantly improve runtimes and performance. There are other common use cases for the Select In-DB tool as you can rename and reorder data fields, and change field data types.
In-Database enables blending and analysis against large sets of data without moving the data out of a database and can provide significant performance improvements over traditional analysis methods. For more about the In-Database tool category, see In-Database Overview.
Configure the Tool
Use the table to modify the incoming data stream. Each row in the table represents a column in the data.
Select, Deselect, and Reorder Columns
To include a column in data, select the check box to the left of the column name. Deselect the check box to exclude the column.
To reorder the columns of data...
- Select to highlight a row, or drag down to highlight multiple rows.
- Use the up or down arrows, or right-click and drag, to move the rows to a new location.
The Unknown column is selected by default. It allows new columns in the data. Move the column to the location where you want a new column to be.
Rename a Column or Add a Description
- To change the name of a column, select Rename and enter the new name.
- To add a description, click Description and type a description.
View More Options
After selecting or highlighting rows (columns of data) in the table, select Options to view more configuration options:
- Save/Load: Save Field Configuration as a .yxft file. The Alteryx Field Type File is a text file can be used in other workflows using the Load Field Names or Load File Names and Types options.
- Select: Select or deselect all or highlight columns. Options include Select All and Deselect All.
- Change Field Type of Highlighted Fields: Change the data type of all highlighted columns at once.
- Sort: Sort the column order in ascending or descending order. Options include Sort on Original Field Name, Sort on New Field Name, and Sort on Field Type, or Revert to Incoming Field Order.
- Move: Move highlighted columns to the top or bottom of the list.
- Add Prefix to Field Names: Add a prefix to the selected or highlighted column name.
- Add Suffix to Field Names: Add a suffix to the selected or highlighted column name.
- Remove Prefix or Suffix: Remove the prefix or suffix from the selected or highlighted column name.
- Clear All Renames: Remove the new name for all columns.
- Clear Highlighted Renames: Remove the new name for all highlighted columns.
- Revert All to Original Type & Size: Undo all changes to type and size in all columns and use the original values.
- Revert Highlighted to Original Type & Size: Undo changes to type and size in the selected or highlighted columns and use the original values.
- Forget All Missing Fields: Remove all columns that are no longer included in the data.
- Forget Highlighted Missing Fields: Remove all highlighted columns that are no longer included in the data.
- Deselect Duplicate Fields: Deselect the second column when duplicate column names exist; this optional is only available with multiple inputs.