Entering content frame

 Possible SQL Results 

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
Otherwise, the number of inserted records (an integer)

CALL

Output parameters,
if the stored procedure gets output parameters, or

an object of the class SapDB_ResultSet,
if the stored procedure gets a results set, or

an object of the class SapDB_Result,
if the stored procedure gets both output parameters and a results set

DDL

None

 

 

Leaving content frame