Class SapDB_Session

Use

SapDB_Session is a class of the sdb.sql module.

You can use the methods of this class to execute SQL statements.

An object of this class corresponds to a database session. To generate an object of this class, use the connect method of the sdb.sql module. After the last reference to an object of this class has been deleted, the system closes the database session with a ROLLBACK of the transaction.

Features

The class SapDB_Session contains the following methods:

sql

sqlX

prepare

release

commit

rollback

Restrictions

The following applies to the methods sql, sqlX and prepare:

You cannot use Unicode character strings in SQL statements.