Simple DBI search with slashes do not return anything
produce: row = 0E0my $string = '/a/b/c'; my $req = qq{ SELECT * FROM `texts` WHERE `string`=?}; my $sth = $dbh->prepare($req); my $row = $sth->execute($string); say "row = $row";
Table `texts`: string varchar(256) utf8_general_ci
How can I perform exact search strings with with slashes?In reply to DBI search for forward slash by luxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |