Hi Monks!
I need to use placeholder on this SQL Statement but I am stuck, how could I update this code using placeholders instead of variables in the sql statement, thanks for the help! What is confusing me is the "$thisdata[]". Is it safe to use single quotes around values in SQL statements, like in "(number = '100')" or leave as it is in this sample code? Thanks.
my $thisdata = [];
my $sql = "select users from my_table where (number = 100) and (serie
+= 450)";
$thisdata = $dbh->exec_select( $sql );