Module sdb.sql

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

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.