Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Well if I have a list of numbers, something like:

29, 32, 33, 37, 45, 78, 82, 200, 678, 680, 683, 690, 705

I then want to perform an SQL query where a field is one of those numbers, but as the list could be a lot larger, I can't just list the numbers in the query as I'm guessing there would be a limit.

So what would be the way to programatically create a 'smart query' so that its something like:

WHERE (blah >28 and blah < 46) or (blah is 82 or 82) or (blah > 677 and blah < 706)

If anyone has any ideas how'd I'd go about it or about the limits of SQL queries to an IBM machine then please reply :

I'll be doing this in FileMaker scripting, but if really necessary I could add it to our existing VB app which is also part of the system. But any advice even how'd you would do it in other languages would be useful.

Thanks for any replies }:(

This topic is 6861 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.