我有 perl 脚本如下
my $tb = 'rajeev';
$query = 'select * from table where name = ?'
$sth = $dbh->prepare($query);
$sth->execute($tb);
执行查询时,$tb 是否被 rajeev 或 'rajeev' 取代?表示查询执行为
select * from table where name = rajeev
或select * from table where name = 'rajeev'