Jump to content
Server Maintenance This Week. ×

Using IN clause with variable list


This topic is 4133 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is it possible to select values from a variable list inside a SELECT statement using the IN clause? I've been trying to get to this work but I think the SELECT statement is just pulling off the first value in the list.  I've been using the below syntax. Any thoughts?

 

 
ExecuteSQL ( "SELECT Field FROM Table WHERE Field IN (?) "; "" ; ¶ ; $List )
 
Link to comment
Share on other sites

This topic is 4133 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.