Skip to content
Discussion options

You must be logged in to vote

Your current approach using a String Formatter to generate a CASE statement works well. Just a few tweaks to perhaps reduce the number of Modules needed:

  • Use Key-Value Pair Module to define a sql parameter, to reduce the need for the String Formatter Module
  • Use the Table Scalar Module, which executes the query and returns just the first column of the first row (with all other columns, rows ignored). This will remove the need for a Table Cell Selector Module.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gdaccache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants