2501 has asked for the wisdom of the Perl Monks concerning the following question:
I am using Win32::ODBC and SQL Server 7.
I write an update query to the DB, and I would really like to be able to get back the number of rows updated.
The Win32::ODBC man page says:
I write an update query to the DB, and I would really like to be able to get back the number of rows updated.
The Win32::ODBC man page says:
Sql( SQL_STRING )
Executes the SQL command SQL_STRING on the current connection.
Returns ? on success, or an error number on failure.
but as far as I can tell, Sql() isn't returning anything after my update query.
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to get number of rows updated in by an sql statement? (Win32::ODBC)
by Anonymous Monk on Feb 01, 2004 at 20:31 UTC | |
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 | |
by 2501 (Pilgrim) on Jan 15, 2001 at 09:36 UTC |
Back to
Seekers of Perl Wisdom