What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Number Range Query

Number Range Query
Author: Message:
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
O.P. Number Range Query
Just wondering if anyone can help me out a bit with this stuff I'm doing at work?

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

quote:
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:

quote:
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  :D
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
03-01-2006 12:50 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Number Range Query - by Dempsey on 03-01-2006 at 12:50 PM
RE: Number Range Query - by RaceProUK on 03-01-2006 at 01:48 PM
RE: RE: Number Range Query - by Dempsey on 03-01-2006 at 02:32 PM
RE: Number Range Query - by Adeptus on 03-01-2006 at 05:34 PM
RE: Number Range Query - by Dempsey on 03-01-2006 at 05:54 PM
RE: Number Range Query - by Adeptus on 03-01-2006 at 06:34 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On