Start of Content Area

Function documentation Module sdb.sql  Locate the document in its SAP Library structure

Use

You use the Python module sdb.sql in Python scripts to execute SQL statements in a MaxDB database instance.

Prerequisites

You have configured the Python modules.

Features

Method connect

Class SapDB_Session

Class SapDB_ResultSet

Class SapDB_Prepared

Class SapDB_Result

Error Handling for the sql Module

Note

To access a MaxDB database instance as per the Python Database API Specification v2.0, use the sdb.dbapi module.

Example

Examples for the sdb.sql Module

See also:

Python Manual

For information about the MaxDB SQL syntax, see the SQL Reference Manual.

 

End of Content Area