Paul,
> I'm pretty certain that you can do that:
>
> SELECT * FROM table WHERE ID IN (1,2,3,4)
>
> Should do the trick, I think. You pass the array in as a comma-delimited
> string.

I must not have explained what I'm doing correctly.

I'll know the test value, but I won't know the values in the array because
they'll be built dynamically.  There is no DB table to query.  I guess a
more correct statement would be:

'build arrayX dynamically
'determine varX

IF varX IN(arrayX) = TRUE THEN
    DO SOMETHING
ELSE
    DO SOMETHING ELSE
END IF



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to