The Formula In-DB tool creates or updates fields in an In-DB data stream with an expression using the native language of the database, such as SQL. Use the Formula In-DB tool to modify data within a database based on an expression or data relationship.
While most In-DB tools do not require SQL commands, this tool requires SQL for more advanced processing.
Use the Insert Fields drop down to pick from available fields to construct your formula. Select a field name to add it to the expression field, or write a custom expression. The expression will be added to the Expression field at the top as it is being written.
A SELECT command is not required to write a CASE statement in the In-DB Formula tool. You can use the expression: CASE WHEN [FIELDNAME] = 'condition' THEN 'calculation'...END
©2018 Alteryx, Inc., all rights reserved. Allocate®, Alteryx®, Guzzler®, and Solocast® are registered trademarks of Alteryx, Inc.