In addition to what the others said about using "LIKE", I would like to add two things:
| Field1 | Field2 |
|---|---|
| aaa1 | bbb1 |
| aaa2 | bbb2 |
| aaa3 | bbb3 |
Perhaps you should consider fetchall_arrayref instead. For more guidance, you may refer to DBI recipes.@array = ( "aaa1\n", "bbb1\n", "aaa2\n", "bbb2\n", "aaa3\n", "bbb3\n" );
In reply to Re: Performing queries with DBI and DBD::MySQL
by dbwiz
in thread Performing queries with DBI and DBD::MySQL
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |