after you build your $sql and see if it's what you think it should be. If that doesn't work, try escaping like this:warn $sql;
my $sql = "select title from $TABLE2 where astype like '%\Q$query\E'";
In reply to Re: DBI and like statment
by mr.nick
in thread DBI and like statment
by sixcolors
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |