From: king kikapu on
Hi to all,

can anyone give me a jump-start about how to call Stored Procedures
from PyODBC ??
I want to execute a very simple testing Stored Procedure on an Sql
Server database.

I started using PyODBC and code like the following

cnxn = pyodbc.connect('DRIVER={SQL

for row in cnxn.execute("select au_fname from authors"):
print row.au_fname

and based on this, i can now write more complex ad-hoc sql string to
get/update data.
But how i can actually call Stored Procedures and passing parameters to
them ??

Let's say i have the following SP:

create procedure test_bed(@data varchar(100))
// do something here.

Any help ??

Thanks in advance

From: king kikapu on
No one is using pyodbc ?? :)

Pages: 1
Prev: download win32file
Next: pdf to text