SAP Cursor Cache for MS SQL Server
Purpose
For MS SQL Server, the process is different from the process for Oracle.
For MS SQL Server, DBSL transforms the statement ID to a stored procedure name. The stored procedure with this name is generated in the database. The set of stored procedures is shared by all SAP work processes.
If the statement does not have a statement ID (for example, a dynamic statement), the DBSL uses a temporary statement cache. Each entry in the temporary statement cache holds the statement string and its associated temporary stored procedure's name. Currently, each SAP work process owns a set of temporary stored procedures.
Process
Executing Normal SQL Statements
A normal SQL statement is a statement with statement ID (that may or may not be normalized by the Statement Analyzer):
Executing Dynamic SQL Statements
A dynamic SQL statement is a statement without statement ID (such as a dynamic statement that is specified completely at runtime):
See also: