Entering content frame

Background documentation Class SapDB_Prepared Locate the document in its SAP Library structure

Use

SapDB-Prepared is a class of the module sapdb.sql. You can use this class to execute an SQL statement more than once with different parameters. This has the following advantages:

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

The application does not need to convert the parameters into a format that matches the SQL syntax. This means that any special characters do not need special handling.

You can use the method prepare (of the class SapDB_Session) to generate objects of this class

Class Content

The class SapDB_Prepared contains the following methods:

execute (sqlParms = [])

getDescription ()

 

Leaving content frame