G
Guest
I have a single query constructed such that I have a number of separate
SELECT statements that prompt the user for input, and each of these is joined
by UNION statements. Essentially, I allow the user to enter up to 24 dates
in which to search my table/data.
What i'm trying to figure out is how to EXIT the "user input" stage if the
user doesn't need to enter any more dates, but I still want the query to run
using the data input up to that point.
Ideas ?
SELECT statements that prompt the user for input, and each of these is joined
by UNION statements. Essentially, I allow the user to enter up to 24 dates
in which to search my table/data.
What i'm trying to figure out is how to EXIT the "user input" stage if the
user doesn't need to enter any more dates, but I still want the query to run
using the data input up to that point.
Ideas ?