Filter In-DB Tool
Use Filter In-DB to filter records with a basic filter or with a custom expression using the native language of the database, like SQL. Use the Filter In-DB tool to query records and return records that meet the specified criteria.
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, visit In-Database Overview.
Note
While most In-DB tools do not require SQL commands, this tool requires SQL for more advanced processing.
Configure the Tool
Select the appropriate filter type.
Basic Filter: Use the basic filter to construct a simple query on a single field in the database.
Use the dropdown to select the column to filter on.
Use the dropdown to select an operator to use.
Operator
Meaning
=
Equals
<>
Does Not Equal
>
Is Greater Than
>=
Is Greater Than or Equal To
<
Is Less Than
<=
Is Less Than or Equal To
IS NULL
Is a missing or unknown value.
IS NOT NULL
Is not a missing or unknown value.
LIKE
Is similar to a specified pattern in a column.
Enter the value to complete the query.
Custom Filter: The Custom Filter acts like a SQL WHERE query. Use the custom filter to construct a more complex expression or to query from multiple fields in the database.
Use Insert Fields to pick from available fields to construct your expression.
Enter the rest of the query in the box using the native language of the database.
Note
If a query is constructed using the Basic Filter, a read-only query displays in the Custom Filter area. If the Custom Filter option is then selected, the query is editable.
Validate expression here at runtime: An option that sends a query to the database to report errors contained in the expression in the results window of this tool. By default, errors are reported in the results window of downstream tools.
View the Output
T anchor: Records that meet the specified criteria.
F anchor: Records that do not meet the specified criteria.