I have 3 sql queries each is almost same except that the condition varies each time and on different column eg.
$sql="Select * where coln1='?'"; $sql1="Select * where coln2='?'"; $sql2="Select * where coln3='?'";
how to convert them into prepare and execute method of writing a query a perl
In reply to PERL DBI MODULE by PiyaPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |