Skip to main content

SQL IN Statement

Comments

3 comments

  • Mike Diss-Torrance

    Try adding brackets around the numbers: SQL IN Operator (w3schools.com) so the resultant where clause looks like this:

    DIFFERENTLOCATIONID IN (1,2,3)

     

    0
  • Luc

    =`DIFFERENTLOCATIONID IN (${$test.result})` When i use it like this and removed the brackets from the input string it works! Thankyou!

    0
  • Berend Veldkamp

    No need to remove brackets if you do this $test.result.join(",")

    0

Please sign in to leave a comment.