Class SapDB_ResultSet

Use

SapDB_ResultSet is a class of the sdb.sql module.

With the methods of this class you can position the cursor within the result set and read data from the result set.

Features

The class SapDB_ResultSet contains the following methods:

next

previous

relative

absolute

first

last

current

__getitem__

getDescription

Restrictions

The following applies for the methods next, previous, relative, absolute, first, last and current:

?     Python 2.x: Unicode columns can be read and written.

?     Python 1.5.2: Unicode output values are converted to ASCII. If the conversion fails, an error is reported.

Example

Executing SQL Statements and Navigating in the Result Set