Does anyone know how to get the output parameters from a stored procedure?

I'm using pymssql on a linux box to call a stored procedure on a mssql
database. I'm not sure of the correct syntax to get the output
parameters.

import pymssql

con = 
pymssql.connect(host='xxxxx',user='xxxx',password='xxxxx',database='xxxxx')

cur = con.cursor()

query = "EXECUTE blah blah blah"

cur.execute(query)
con.commit()
con.close()

Mike
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to