- or download this
select ? from ... where ..
- or download this
#!/usr/bin/perl
...
my $sth=$dbh->prepare('select ? as answer');
$sth->execute(42);
$sth->dump_results();
- or download this
'42'
1 rows
- or download this
#!/usr/bin/perl
...
$sth->bind_param(1,42,SQL_INTEGER);
$sth->execute();
$sth->dump_results();
- or download this
42
1 rows