http://www.perlmonks.org?node_id=51466

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:
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.