passing GUID parameter to adodbapi

M

Max Ischenko

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top