Depending on the content of the SQL statement, you get different results when you execute the methods of the module sapdb.sql.
SQL Statement |
Result |
SELECT |
An object of the class SapDB_ResultSet |
UPDATE, DELETE |
The number of modified or deleted records (an integer) |
INSERT |
An
object of the class SapDB_Result, if
the table in which records are being inserted contains a column with the type
SERIAL |
CALL |
Output
parameters, an
object of the class
SapDB_ResultSet, an
object of the class
SapDB_Result, |
DDL |
None |