123456
my $sql = $sth->{Statement};for( keys %{$sth->{ParamValues}} ){ $sql =~ s/\?/$sth->{ParamValues}->{$_}/;}