In the Input step of processes that connect to outside data sources, you can create custom SQL queries. Custom queries should be used when you want to do something that is not supported by the main user interface. You can use it to sort your results, choose randomly from them, or even append them together into one string so they all get combined (later to be turned into a multi-value field by pattern matching).To write queries, you will need to be familiar with the appropriate SQL syntax and the parameter naming conventions for your data source.
To create a custom query
Warning: Clicking Test actually runs the query so be careful to not run a query that will do something you do not want to do (e.g., drop a table).
Parameter Names: How to specify the parameter names depends on how you are connecting to the data source:
Note: Tokens generated by custom queries will not be automatically available in the Results stage. You can use them by specifying them in the format %(Column.Column Name) for Real-Time Lookup and %(Lookup Process Name_Column Name) for Lookup, replacing the text in italics with your own information. The column name may or may not be case sensitive, depending on your data source.
Warning: Quick Fields does not check or validate your queries. Be careful to not put anything in your query that will harm your database.