Perl - Singleline MySQL Query

From Skytech
Jump to: navigation, search


Perl singleline MySQL Query

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