I'm using the standard odbc module with ActivePython 2.1. I can't find any
documentation on the paramstyle used by the odbc module. I'm guessing that I
should be using the ? paramstyle, but I'm still not getting any results. My
code currently looks like this:

my_cursor.execute("SELECT ITEM_DESC FROM NVTMAIN WHERE MASTER_NO = '?'
",partnum)

What am I missing?
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to