Perl - Singleline MySQL Query

From Skytech
Jump to navigation Jump to search


Perl singleline MySQL Query

my $sSQL = "SELECT MAX(id) FROM counters";
my $iMaxValue = $dbh2->selectrow_array($sSQL);