$name = "kylere'"; my $sql = "SELECT Name FROM $table WHERE Name like ? order by Name"; # ... or order by whatever, it doesn't matter my $ids = $dbh->selectcol_arrayref($sql, undef, "$name%");
In reply to Re: DBI, quoting and like - SQLite
by bart
in thread DBI, quoting and like - SQLite
by castaway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |