> sapdbapi.py sets paramstyle = 'named', but params seem to 
> behave more like
> 'qmark'.  From DB API 2.0
> (http://www.python.org/topics/database/DatabaseAPI-2.0.html):
> 'qmark' = Question mark style, e.g. '...WHERE name=?' 
> 'named' = Named style, e.g. '...WHERE name=:name' 
> 
> 
> Is this a bug in sapdbapi.py or do named style params work in SAPDB?

Both styles work with SAP DB. This is actually handled by the database
kernel, so there is no performance loss with either of them.

Perhaps I should use a custon object for this value which compares as equal
for both 'qmark' and 'named'.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to