Python Manual

Purpose

With MaxDB Python modules, you can use Python scripts to access MaxDB database instances and the database tools Database Manager and Loader.

MaxDB Python modules can be used on all operating systems supported by the database system.

Implementation Considerations

MaxDB Python modules are included in the MaxDB software. For information on where to obtain MaxDB software and how to install it, see the Download section and the Installation Manual.

Features

Configuring the Python Modules

Python Modules

Name

Programming Interface

Use

sdb.dbapi

SQL

Executing SQL statements

(implements the Python Database API Specification v2.0)

sdb.sql

SQL

Executing SQL statements

(MaxDB-specific)

sdb.dbm

Database Manager

Managing database instances (executing DBM commands)

sdb.loader

Loader

Importing and exporting data (executing Loader commands and SQL statements)

Constraints

For Unicode-enabled database instances only: In SQL statements, you can only use Unicode values in input/output parameters.

See also:

For more information about the database system, see Concepts of the Database System. For quick access to all documentation and an explanation of the most important terms, we recommend the alphabetical glossary.