hoping someone can help me with this. I have to create SQL statements from 2 arrays. The first array holds the names of the columns I wish to select from the second holds the conditions.
Have a look at SQL::Generator.
But maybe you don't want to generate SQL yourself (I don't think you do like SQL, because you would probably not be trying this if you did), use DBIx::Abstract.
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: Creating Dynamic SQL statements using arrays
by Juerd
in thread Creating Dynamic SQL statements using arrays
by johnirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |