http://qs321.pair.com?node_id=1144729


in reply to Re: DBI.pm: composing and debugging MySql placeholders
in thread DBI.pm: composing and debugging MySql placeholders

> If you actually want to recreate the SQL with the placeholders in place that is slightly more difficult but not impossible

Well automatically constructing the following should be straight forward, (though I'm not sure about namespaces in SQL, but for cut and paste this should be irrelevant)

PREPARE stmt1 FROM 'SELECT * FROM t_user_portal WHERE f_client = ?'; SET @client = 'lanx'; EXECUTE stmt1 USING @client;

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!