Perl Monk, Perl Meditation | |
PerlMonks |
Re: How to get number of rows updated in by an sql statement? (Win32::ODBC)by jreades (Friar) |
on Jan 15, 2001 at 02:56 UTC ( [id://51819]=note: print w/replies, xml ) | Need Help?? |
The documentation for DBI is pretty good on this front. It looks like:
... would return what you're looking for (unless the ODBC driver doesn't support this kind of method). If the driver is very limited (I haven't worked with the Win32::ODBC driver) then you might have to fudge it a bit and try a clever SELECT statement based on the UPDATE if you really need to know how many rows were affected.
In Section
Seekers of Perl Wisdom
|
|