Python DBI

ghostdog s802645999 at yahoo.com
Fri Jan 3 05:46:37 EST 2003


hi

does the dbi and odbc supplied with the windows version of python enable

calling of stored procedures like 

mycursor.execute("sp_configure") ???

if so, how do i get the results of sp_configure for example??

it gives me "Invalid cursor state. in FETCH" when i use the following steps

test = "sp_configure"

cur.execute(test)
result = cur.fetchall()

print result

thanks



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030103/79b3d2bd/attachment.html>


More information about the Python-list mailing list