elam has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Database queries w/lots of inputs.
by dws (Chancellor) on May 13, 2003 at 20:07 UTC | |
|
Re: Database queries w/lots of inputs.
by shemp (Deacon) on May 13, 2003 at 20:02 UTC | |
|
Re: Database queries w/lots of inputs.
by bigj (Monk) on May 14, 2003 at 10:23 UTC |