I'm writing an application to scour a client's database using perl and dbi. I would like to have just one screen, with multiple input boxes. The problem with this is the number of permutations of sql queries I would have to craft. One table has 5 fields which would require 31 different queries to ensure all possible variations of input data are captured.
My other option is to force the user to begin with a specified input and filter down from there. Am I missing something obvious or are these the only 2 ways to do this? I would really like to do the first option but don't have the time to plug bunches of queries. Do many ifelse statements bog perl down?
Thanks,
Elam
In reply to Database queries w/lots of inputs. by elam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |