Entering content frame

Background documentation Possible SQL Results Locate the document in the library structure

Depending on the content of the SQL statement, you get different results when you execute the methods of the module sdb.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 returns output parameters, or

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

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

DDL

None

 

 

Leaving content frame