pymssql returns error on stored procedure execution

Josh Close narshe at gmail.com
Thu Jul 22 11:16:34 EDT 2004


I'm getting an error from pymssql when trying to execute a stored procedure:

Operating-system Error - OpenClient

I can't figure out why this is happening. It's probably a freetds
problem (like usual) but if any one knows, it would be helpful.

This is all that's done:

sql = 'spName;'
mssql.query(sql)

I've tried several variations, but none of them have worked

sql = 'EXEC spName;'

sql = 'EXEC dbo.spName;'

Does anyone know what's going on here?

-Josh



More information about the Python-list mailing list