When you execute SQL statements with the methods of the sdb.sql module, you get different results depending on the type of SQL statement executed.
SQL Statement |
Result |
SELECT |
An object of the class SapDB_ResultSet |
UPDATE, DELETE |
Number of changed or deleted data records |
INSERT |
● Object of the class SapDB_Result if the table into which the data records are inserted contains a column of type SERIAL ● Number of inserted records if the table into which the data records are inserted contains no column of type SERIAL |
CALL |
●
Output parameters ●
Object of the class SapDB_ResultSet ●
Object of the class SapDB_Result |
DDL (Data Definition Language) |
None |