An object representing an ODBC cursor.
-
Closes the cursor
-
Execute some SQL
-
Fetch one row of data
-
Fetch many rows of data
-
Fetch all the rows of data
-
-
cursor.close
close() Closes the cursor
This method does nothing!! I presume it should!?!?!
cursor.execute
int = execute(sql, [var, ...]
) Execute some SQL
-
sql : string
The SQL to execute
-
[var, ...]=[] : sequence
Input variables.
cursor.fetchall
[data, ...] = fetchall() Fetch all rows of data
cursor.fetchmany
[data, ...] = fetchmany() Fetch many rows of data
cursor.fetchone
data = fetchone() Fetch one row of data
cursor.setinputsizes
setinputsizes()
cursor.setoutputsize
setoutputsize()