Entering content frame

Function documentation Class SapDB_Prepared Locate the document in the library structure

Use

SapDB_Prepared is a class of the sdb.sql module.

You can use the methods of this class to execute an SQL statement multiple times with different parameters. This has the following advantages:

     The database system only needs to check the syntax and privileges once.

     The Python application does not have to convert parameters into an SQL syntax-appropriate format, so special characters do not require special treatment.

To generate an object of this class, use the prepare method of the class SapDB_Session.

Features

The class SapDB_Prepared contains the following methods:

execute

getDescription

 

Leaving content frame