Entering content frame

Background documentation SapDB_Session Class Locate the document in the library structure

Use

SapDB_Session is a class of the sdb.sql Module. Objects of this class are generated by calling the connect method of the sdb.sql module. You can use these objects to execute SQL statements.

An object belonging to this class corresponds to a database connection. Once the last connection to this object is deleted, the database connection is ended by a ROLLBACK of the transaction.

Class Content

The class SapDB_Session contains the following methods:

sql (cmd)

sqlX (cmd, parms)

prepare (cmd)

release (withCommit=0)

commit ()

rollback ()

Note

UNICODE character strings cannot be used as SQL statements for sql (cmd), sqlX (cmd, parms) and prepare (cmd) methods.

 

Leaving content frame