Is there a sample of the named style?  I've only managed to make the qmark
style work.

Thanks,

Jeff

> -----Original Message-----
> From: Dittmar, Daniel
> Sent: Monday, June 03, 2002 5:39 AM
> To: 'Jeffrey Robbins'; '[EMAIL PROTECTED]'
> Subject: RE: python paramstyle
>
>
> > 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