passing GUID parameter to adodbapi
Max Ischenko
max at ucmg.com.ua.remove.it
Thu Jul 22 11:19:58 EDT 2004
I'm using adodbapi DBAPI module to access SQL server and trying to pass
a GUID parameter with an SQL statement. But it doesn't work: I got
"incorrect cast expression" from the ADO. If I paste GUID directly into
sql string (in quotes) it works fine.
I've tried to patch adodbapi to correctly handle this kind of parameters
but no luck. Could someone give any specific help on adodbapi or at
least some general reference to how to pass GUID to the ADO properly.
tia.
More information about the Python-list
mailing list