Background documentation-10603: SQL command would generate a result set Locate this document in the navigation structure

 

Explanation

The SQLDBC_Statement::addBatch or SQLDBC_Statement::executeBatch method that was called could not be executed, because the SQL statements that were transferred would have generated a result set.

User Response

Do not use any SQL statements that would generate a result set (SELECT or database procedure) for these methods.