Forum Discussion
smudassir
4 years agoEmployee
@vincenr , there are multiple solutions to this problem.
- solution 1: You can have a stored procedure created. The procedure returns the output of the select query if exists. Otherwise, the procedure can just return a custom message for no output. The downstream snap will assume there is no output if the custom message is found.
- solution 2: Connect JSON Formatter + Binary to Document (encode/decode set to "none’) to the output of the execute snap. In the output of the Binary to Document snap, content will be just [ ] if select query has no output.
vincenr
4 years agoNew Contributor III
But that doesn’t answer my question about how my scenario would work with the two snaps. Please see my last question that I asked.