$sql_stmt = "select * from database where 1=1"; #This is how I would do the match in Postgresql #Check your DB docs for the correct syntax my $matchstring = join ' OR ', map { "PlantDescription ~ ".$dbh->quot +e($_)} @keywords; $sql_stmt .= ' AND '.$matchstring if $matchstring;
In reply to Re: regex search
by Lachesis
in thread regex search
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |