.select col1, col2, col3 from tab_name where (? is null or foo = ?) a +nd (? is null or bar = ?) and (? is null or baz = ?)
In reply to Re^8: DBI, place holders and CGI forms
by Anonymous Monk
in thread DBI, place holders and CGI forms
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |