- or download this
my $statement = <<'__SQL__';
SELECT *
...
my $rv = $sth->execute($client)
or die $sth->errstr;
- or download this
SELECT *
FROM t_user_portal
WHERE f_client = 'lanx'
- or download this
PREPARE stmt1 FROM 'SELECT * FROM t_user_portal WHERE f_client = ?';
SET @client = 'lanx';
EXECUTE stmt1 USING @client;