my $param = 'ksdf%'; my $stmt = "SELECT feld1 FROM tabelle WHERE feld2 LIKE ?"; my $sth = $dbh->prepare($stmt) or die $dbh->errstr; $sth->execute($param) or die $dbh->errstr;