Good day,
I am having trouble using sqlalchemy with a third-party Sybase 9
database with read-only permissions. I believe this is based on the
way (certain versions of) Sybase handle prepared statements[1].
Using pyodbc, this works:
results = cursor.execute("select name from table where name='Bob'")
While this doesn't work:
results = cursor.execute("select name from table where name = ?",
["Bob"])
The error message is the following:
ASA Error -121: Permission denied: you do not have permission to use
the "CREATE PROCEDURE" statement (262)
So my question is, is there a way I can use sqlalchemy without using
prepared statements? What are my options?
Thanks,
Firass.
[1]
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc35570.1550/html/clcprgde/clcprgde194.htm
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.