Perl - Singleline MySQL Query

From Skytech
Revision as of 09:43, 17 June 2009 by 212.37.141.188 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Perl singleline MySQL Query

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