Entering content frame

This graphic is explained in the accompanying text Examples for the sdb.sql Module Locate the document in the library structure

You use the sdb.dbm Module to execute SQL statements in a database instance using the Python program. To do this, create a Python file sample_n.py and then call it using the following command:

python sample_n.py <database_user> <database_user_password> <database_name>

Examples of executing DBM commands using the sdb.sql module:

CONNECT Statement

SELECT Statement and Calling the Result Set Step-by-Step

SELECT Statement and Calling the Result Set in a for-Loop

SELECT Statement and Displaying the Structure of the Result Set

Executing an INSERT Statement Multiple Times with Different Parameters

Handling Error Situations

 

 

Leaving content frame